To find and return the common node of two linked lists merged into a 'Y' shape.
Intern Interview Questions
248,704 intern interview questions shared by candidates
Suppose we can translate numbers into characters: 1->a, 2->b, ...26->z given an integer, for example, 11223, output every translation of the number.
We are racing, and can at any time signal to the other that we would like to double our bet. We've put down 100 to start and during the race I signal to you I want to double the bet, What is the minimum probability of winning for you to accept to continue?
3) Poker. 26 red, 26 black. Take one every time, you can choose to guess whether it’s red. You have only one chance. If you are right, you get 1 dollar. What’s the strategy? And what’s the expected earn?
Given two strings representing integer numbers ("123" , "30") return a string representing the sum of the two numbers ("153")
Determine if an array from 1..n has a duplicate in constant time and space.
Russian Roulette - 4 blanks 2 bullets, all in a row. If someone shoots a blank next to you, would you take another shot or spin
You are in a boat in a pool with a rock in your hand. You throw the rock into the pool. Does the water level rise, drop, or stay the same?
If you had only 5 and 11 cent stamps. Whats the smallest number that would be impossible to make with those stamps.
Implement a power function to raise a double to an int power, including negative powers.
Viewing 11 - 20 interview questions