Financial software developer intern interview questions shared by candidates
There are 20 floors in a building. If you're on an elevator and you're trying to get to the 20th floor, what is the probability that 4 people ahead of you click the 20th floor before you do? Assuming you click last.
assume there is one button for each floor, so 20 buttons. a person can press any 1 button out of the 20, prob is 1/20. Since there are 4 people, so1/16000
These are independent events so the chances of one person before you going to the 20th floor is 1/20. Since this happens 4 times before you the probability is 4*(1/20) or 1/5.
The above two are close, but wrong.. There are 20 buttons, thus 20 choices, sure. But you are getting on at one of the floor. No body will press the button for the floor they get on.. Thus, there is really only 19 choices. P = (1/19)^3 (Independent events mean (1/19)(1/19)(1/19)).
See Interview Questions for Similar Jobs
- Software Engineer Intern
- Software Engineer
- Software Developer
- Software Engineering Intern
- Financial Software Developer
- Senior Software Engineer
- Technology Analyst
- Senior Software Developer
- Software Development Engineer
- Summer Analyst