Print all shortest paths in a grid (Cartesian), given the starting and the ending point.
Developer Intern Interview Questions
717,037 developer intern interview questions shared by candidates
Design a class to process a matrix, and it needs to be able to return the average for the elements of arbitrary sub-rectangle inside that matrix, in constant time.
Write code for Fibonacci algorithm (iterative or recursive) and explain what's the performance.
Given a list of strings return the substring representing the longest common prefix
We have m slots for ads and n ads, each ads will have different revenue on differnet slot, design an algorithm to find out the best fit (find m ads in n ads and order them so that they can make max money, white board coding) .
Design an algorithm to play a game of Frogger and then code the solution. The object of the game is to direct a frog to avoid cars while crossing a busy road. You may represent a road lane via an array. Generalize the solution for an N-lane road.
Convert decimal number 99 to base 7.
how would you find maximum element in an array of numbers.
How would you write a sort routine to ensure that identical elements in the input are maximally spread in the output?
Implement an LRU cache.
Viewing 1911 - 1920 interview questions