5 Guys went for dinner.. and were going to sit on a round table having 5 seats.. their birthdays are not same .. probability of getting them seated in inc/dec order of their age.
Interns Interview Questions
248,712 interns interview questions shared by candidates
100^2-99^2....-1^2
There are 1000 people in a hall. One person had his hand painted. Every minute everyone shake their hand with someone else. How much time is needed to paint all the hands? What is the best scenario? What is the worst scenario?
What would you do if you had four projects, one due today, one due in a week, one due in a month and one due in a year?
The dude basically asked me "what weird things have you found in using C?" Odd question...
they asked me to code for such a question: the input was a string and I was supposed to output the longest sub string with only 2 distinct chars in the sub string.
How do you fit in this role
Video interviews generally test you on interpersonal, communication, business strategy and time management skills. Discovery Centre tests almost the same thing, and they're looking for empathy, how well prepared and how well you defend your points.
There are 100 prisoners on an island. Starring from Day 1, a guard will play the following game with them. On the n th day, a random prisoner will be brought into a room, which contains a switch that is either on or off. After he left the room, the guard will then ask the prisoner if everybody has been to the room. He can answer either "Yes" or "I dun know". If he answered "yes" and he is correct, everyone is free' otherwise everyone dies. If he answered "I dun know", the game continues: a prisoner will be choosen at random on (n+1)-th day and so on. Now these 100 prisoners are free to meet and discuss a strategy on the night of 0th day. Afterwards they will not be able to see anyone else at all. No other communcation is possible except the binary switch in the room. Is there a sure-fire strategy to free all of them?
Where are you from ?
Viewing 271 - 280 interview questions