Full question:
Given N step stair, how many number of ways can you climb if you use either 1 or 2 at a time?
Answer
It will be F(n+1) fibonacci numb ...
Search results for google
Preparing for Google interview
Posted by SmartAss
Here is the email from Google I recived with the advice on how to prepare to the interview.
Thank you for taking the time to chat today! The details ...
Write a function which produces a random integer in the range 1 to 7 based on function which returns random integer in the range 1 to 5
Posted by CMaster
The task is given a function rand5() which produces a random integer in the range 1 to 5, write a function rand7() which produces a random integer in ...
Company where asked this question: Google, Microsoft
Company where asked this question: Google, Microsoft
Another icebreaker I had was:
You are given a cake. One of the cake corners is randomly broken. How will you cut the rest of the cake into the two ab ...
Color of a bear
Posted by AmCook
What is a color of the bear if it falls from 1 meter height in 1 second?
Real life interview icebreaker.
Real life interview icebreaker.
You have absolutely identical 2 eggs and empty K-story building. You can throw eggs from any floor and see if it was broken or not. If not, you can re ...
« previous1 next »
