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?
Java Interview Questions
6,583,593 interview questions shared by candidates
Q1. Print the 1st and 100th element of Fibonacci series together, 2nd and 99th element and so on. Q2. Print the following pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25. (Condition was using one for loop)
There were no difficult questions.
1, 2, 3 from exp, ln, sqr, sqrt, sin, cos, tg, arcsin, arccos, arctg and 0
All questions about scenarios within a work place and how you handled it.
Are you ready to join immediately? As in the very next day?
row a dice twice, pick the biggest number, what is expecation avalue
How do you handle stress? Can you give an example of a situation when you were very stressed, and how you handled that.
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.
Viewing 2701 - 2710 interview questions