You are given the set of numbers:
1
11
21
1211
111221
Task:
1. Find the next number
2. Write a program which would find next number based on prev ...
Company where asked this question: Google
Latest Job Interview Questions » Interview Puzzles
Numbers puzzle
Posted by AmCookCoins in the box
Posted by Microsoft-Interview
You are given a box 2 inches by 1000 inches in size, and an unlimited supply of coins. Each coin is exactly one inch in diameter.
How many coins can ...
knight's tour
Posted by Microsoft-Interview (http://spellscroll.com)
On an empty NxN chessboard, a knight starts from a point (say location x, y) and it starts moving randomly, but once it moves out of board, it can’t ...
Virus spreading algorithm
Posted by Microsoft-Interview
There is a N x N field (N < = 1000) which contains M viruses (M < 100).
Coordinates of each virus are given as {X,Y} pairs.
For each step one virus ...
Company where asked this question: Amazon
Company where asked this question: Amazon
There is a table on which a number of coins are placed. You also know that there are as many coins with Head up as many coins with Tail up and the num ...
There are 25 horses among which you need to find out the fastest 3 horses. You can conduct race among at most 5 to find out their relative speed. At n ...
Company where asked this question: Amazon
Company where asked this question: Amazon
If the probability of observing a car in X minutes on a highway is P, what is the probability of observing a car in X/N minutes (assuming constant def ...
Company where asked this question: Google, Microsoft
Company where asked this question: Google, Microsoft
Take the names of two U.S. States, mix them all together, then rearrange the letters to form the names of two other U.S. States.
What states are thes ...
Saved Stories
Sponsored Categories