Java Interview Questions

6,583,593 interview questions shared by candidates

You are in a room with 3 switches which correspond to 3 bulbs in another room and you don't know which switch corresponds to which bulb. You can only enter the room with the bulbs once. You can NOT use any external equipment (power supplies, resistors, etc.). How do you find out which bulb corresponds to which switch?
Mar 18, 2009

You are in a room with 3 switches which correspond to 3 bulbs in another room and you don't know which switch corresponds to which bulb. You can only enter the room with the bulbs once. You can NOT use any external equipment (power supplies, resistors, etc.). How do you find out which bulb corresponds to which switch?

Interesting question: From a deck of 52 cards pick 26 at random. From this set of 26 you pick two cards. You win if the both of these cards are of the same color. Is this a game you would prefer over one in which you win by picking two (first two picks) of the same color at random from a deck of 26 with equal number of black and red cards
avatar

Quantitative Researcher

Interviewed at Jane Street

4.4
Oct 24, 2014

Interesting question: From a deck of 52 cards pick 26 at random. From this set of 26 you pick two cards. You win if the both of these cards are of the same color. Is this a game you would prefer over one in which you win by picking two (first two picks) of the same color at random from a deck of 26 with equal number of black and red cards

Flip a coin. if head, I win 1 point. If tail, u win 1 point. The person who first wins 2 points wins the game. And the loser must pay winner $1. However, if I have a option which I can increase the stake of the game to $2/game, what is the value of such option.
avatar

Trading

Interviewed at Jane Street

4.4
Nov 1, 2011

Flip a coin. if head, I win 1 point. If tail, u win 1 point. The person who first wins 2 points wins the game. And the loser must pay winner $1. However, if I have a option which I can increase the stake of the game to $2/game, what is the value of such option.

Viewing 2701 - 2710 interview questions

Glassdoor has 6,583,593 interview questions. Prepare for your interview. Get hired. Love your job.