Just one question: shift an array to the right by n positions such that the right most indexes are become the first ones and the first ones move ahead. like: 1 2 3 4 5 --> shift by 2 --> 4 5 1 2 3
Developer Intern Interview Questions
715,695 developer intern interview questions shared by candidates
Only they need money no interview questions
An optimal algorithm to check whether a hand of cards was a full house (in Poker) or not.
There is an NxM grid containing a robot at (1, 1) and a destination at (N, M). Robot can move only up or right. Some locations can have obstacles. Find the number of unique paths from (1, 1) to (N, M). What is the time complexity of your algorithm?
There are 20 floors in a building. If you're on an elevator and you're trying to get to the 20th floor, what is the probability that 4 people ahead of you click the 20th floor before you do? Assuming you click last.
How to detect a common superview.
25 racehorses, no stopwatch. 5 tracks. Figure out the top three fastest horses in the fewest number of races.
How would you implement division without +, - or multiplication
This was not unexpected but a bit difficult. How would you represent the ordering of a deck of card if you only have 32bytes to work with. So, he explained that you have 52 objects, there are 52! possible ordering of them. how to encode one of those ordering within 32 bytes?
Milestone 2) Will ask to optimize by reducing the number of unfulfilled orders. The apis will be confusing and you will have two interviews during the coding session.
Viewing 231 - 240 interview questions