It is known that a certain family has two children, at least one of whom is a boy. What is the probability that there is a girl child in that family? ...

# Latest Job Interview Questions » Interview Puzzles

## Boy or Girl (Probability)

Posted by Interview
Question:
You are given b boxes and n dollar bills. The money has to be sealed in the b boxes in a way such that without thereafter opening a box, yo ...

## An honest man with four stones

Posted by Interview
An honest man has four stones – white, light gray, dark gray, and black.
He secretly chose one of the stones, and allows you to ask him one questio ...

## Substitution Cipher Puzzle

Posted by CommonInterview
Task is to use a standard substitution cipher where a = 1...z = 26. Find the English word that produces a value closes to 1 million when you multiply ...

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 ...

Three people check into a hotel. They pay $30 to the manager and go to their room. The manager finds out that the room rate is $25 and gives $5 to the ...

## Virus spreading algorithm

Posted by 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## knight's tour

Posted by 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 ...