Given a 8x8 chessboard, write code to calculate the number of ways you can go from the the top left corner to the bottom right corner, given that you can go down, up, left, AND right.
Software Developer Engineer Interview Questions
467,011 software developer engineer interview questions shared by candidates
Determine whether 4 elements in an array sum to 0 in O(n^2) time.
How many ways can an ant travel through all of the corners of a cube? Constraints were that each corner cannot be visited twice. How many ways can an ant start at a corner move through all adjacent corners and return to starting position?
- Given a real-time list of traded stocks, need to get the last N (arbitrary) unique traded stocks. Write addTrade(string ticker) and getLastNUnique(int n) functions with efficient runtime.
2, 3, 5, 7, what comes next
Implement singleton
find min of array that decrease then increase, like [5,4,3,2,1,2,3,4,5]
Say that you have an infinite amount of sorted data coming in, implement a way to find a specific time stamp.
Find the height of a tree, and then find the longest path in a tree.
You have 12 marbles, out of which only one is of different weight. You dont know if its less or more than the others. what is the lest number of weighings you have to make to find it.
Viewing 1641 - 1650 interview questions