Google interview questions
- How many golf balls can be inserted into a car?
- Suppose you are reduced to the size of a coin, and your quality is also reduced in proportion to keep your density unchanged. You are put into an empty glass blaster and the blade will start in 60 seconds. What should you do?
- How many optimizers are there in the world?
- In one country (I swear I am not a Chinese translator), everyone wants to give birth to a boy. Every family will keep asking for children. If they are girls, they will continue until they give birth to a boy, what is the proportion of men and women in the international market?
- Describe a chicken in a programming language.
Microsoft interview questions
- You have a bucket of jelly, red, blue, and green. How many times do you need to capture two of your favorite colors when you close your eyes, can we get two pieces of the same color?
- Two prime numbers separated by one in the middle are called prime number pairs, such as 17,19. Please prove that the number in the middle of the prime number pair is always 6 divisible (assuming it is greater than 6)
- When the mechanical clock is at, the hour hand overlaps with the minute hand. How many times will the hour hand and the minute hand overlap in a day? How do you find the exact time of the overlap.
- How many Boeing 747 s are there?
- Suppose there is a plate that rotates like a recording on the table. The plate is black and white. You have countless sensors at your disposal. How many sensors do you need around the plate to detect the orientation of the plate? How can they be put?