A and B in a game. Each choose a different number. Roll two dice, take the sum. The one closer to the result wins. Go first or second, choose which number?
Intern Interview Questions
248,712 intern interview questions shared by candidates
Where do you see yourself in five years?
Given a set of tags, how would you keep track of duplicate tags?
Given a generic tree, how would you pick a node at random with uniform probability?
Logic Puzzle : How would you measure exactly 9mins using a 4 minutes and a 7 minutes hourglass
Common interview problems like string processing. Remove repeated chars in a string.
Implement a fast exponentiation function
There is a museum organized as NxN room. Some rooms are locked and inaccessible. Other rooms are open and some rooms have guards. Guards can only move north, south, east and west, only through open rooms and only within the museum. For each room, find the shortest distance to a guard. What is the time complexity of your algorithm?
Given an array of 1..n numbers with 2 numbers missing in it find the missing ones.
what is the best way to find the duplicates within two intersecting linked list?
Viewing 581 - 590 interview questions