Write a function that determines whether a given number is a prime. Discuss perf improvements.
Software Development Engineer Interview Questions
32,843 software development engineer interview questions shared by candidates
Shuffle Linked List
Reserve link listed pair-wise
Reverse the words in a sentence.
Design and implement a "inner join" function using 2 sorted lists/arrays. Make it run in O(n) time.
How to get 4L from 2 containers of size 3L and 5L
Solve: M is a 2D matrix of integers (nXm) they are sorted in both row and column Write a function search(int s) that return the exact location of the number or Null using lgn
1. Given a non-negative integer array that is then shuffled and 1 element is removed, find which element was removed. 2. Assume you are designing/writing code for some small business software how would you go about creating a clean, extensible method for calculating sales tax that can be extended easily to work in different parts of the world. 3. (Two separate questions) 3a. Given an integer array, remove the duplicate values and return an integer array 3b. Test a dice role generator method 4. Design a system for tracking employee applicants through the interview process
"You have billions of strings sorted in an array. You don't have any access to it. You just have a method that returns the string pertaining to a index. Use only that method to find the location of a given string" I started out at 0(n^2) and kept on improving to o(logn)
The question that I was asked "Find all the colinear points given a set of coordinates in a plane"
Viewing 631 - 640 interview questions