I have just came across these hot questions which were asked in Microsoft & Google interviews. I thought of writing this post where I will try to assemble answers of these questions. The reason why I am interested in these questions is that my dream company is Google. Yes, I want to work for Google one day. I know I can and I will. With this post you might improve on answering interview questions well.
Google Interview Questions & Answers
- How many golf balls can fit in a school bus?
- You are shrunk to the height of a nickel and your mass is proportionally reduced so as to maintain your original density. You are then thrown into an empty glass blender. The blades will start moving in 60 seconds. What do you do?
- How many piano tuners are there in the entire world?
- In a country in which people only want boys, every family continues to have children until they have a boy. If they have a girl, they have another child. If they have a boy, they stop. What is the proportion of boys to girls in the country?
- Describe a chicken using a programming language.
Microsoft Interview Questions & Answers
- You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?
- Pairs of primes separated by a single number are called prime pairs. Examples are 17 and 19. Prove that the number between a prime pair is always divisible by 6 (assuming both numbers in the pair are greater than 6). Now prove that there are no â€˜prime triples.â€™
- Imagine an analog clock set to 12 oâ€™clock. Note that the hour and minute hands overlap. How many times each day do both the hour and minute hands overlap? How would you determine the exact times of the day that this occurs?
- How much does a 747 weigh?
- Imagine a disk spinning like a record player turn table. Half of the disk is black and the other is white. Assume you have an unlimited number of color sensors. How many sensors would you have to place around the disk to determine the direction the disk is spinning? Where would they be placed?
I am assembling answers of these questions and will probably update this post tomorrow. If you know answer of any question then kindly comment here so that I can include it here with a linkback to you.