Trash Collector Interview Question:
Download Questions PDF

If you have seven white socks and nine black socks in a drawer, how many socks do you have to pull out blindly in order to ensure that you have a matching pair?

Trash Collector Job Interview Question
Trash Collector Interview Question

Answer:

if the first one is one color (say, white), and the second one is the other color (black), then the third one, no matter what the color, will make a matching pair. (Sometimes you're not supposed to think that hard.)

Download Trash Collector Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose there are three light switches outside a room. Inside is a single light bulb, controlled by one of the three switches. You need to determine which switch operates the bulb. You can turn the switches on and off as many times as you wish (they are all off to begin with), but may only enter the room once. There is no one there to help you. The door to the room is closed, and there are no windows, so you cannot see inside. How can you discover which switch operates the bulb?How have you achieved your success?