Intern Interview Questions |

Glassdoor uses cookies to improve your site experience. By continuing, you agree to our use of cookies. OK | Learn More

Intern Interview Questions


Intern interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular Date

At the bus stop 3/4 of commuters leave the bus and 7 new come in. This process repeats 3 times. What is the minimal number of people initially in the bus.

3 Answers


0.25(0.25 (0.25 x + 7) + 7) = x/64 + 7/16 + 7/4 is an integer, thus the minimum x is 52. Any quicker solution?

Yup, there is a quicker solution. First note that if x is the answer, then the number of people on the bus is always a linear function of x => we are looking for the smallest possible number of people in the end. If the number of people in the end is y, then the number in the beginning is 4(4(4(y-7)-7)-7)=64y-588. Hence y is at least 10, and in that case the minimum x is 52. It remains to check that 52 works, and it does. This isn't a radical change from your solution, but multiplication is usually easier than division, especially considering that this is probably a first-round problem, where no pen/paper are allowed. Another method: First step subtracts 7 from y, so y>6. Second step requires 4y>35, or equivalently y>8. Finally, y=9 doesn't work and y=10 does, so x=52.

How would you store the configuration of a chess board at any point in the game?

3 Answers

How many times does the Earth rotate around its own axis while it makes one revolution around the sun?

5 Answers

Imagine you are the director of a hospital which the press has described as a 'health hazard'. Suppose that this is true - the cleaning company you use is currently involved in a number of scandals, however you are legally bound to it for 7 years. How would you deal with the situation?

2 Answers

Classic one from them: You have an array and you want to find the first non-repeating element.

2 Answers

Would Java Bytecode generated by Java 7 work on a JVM made to function on Java 1.0?

2 Answers

Describe the world in 2050

2 Answers

Tell me about your life in the form of a story

1 Answer

Why are you not applying for bank jobs?

1 Answer
110 of 1,062 Interview Questions