Game and simulation programming Interview Question:

Download Game and simulation programming Interview Questions and Answers 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?

Game and simulation programming Job Interview Question
Game and simulation programming 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 Game and simulation programming Interview Questions And Answers PDF

Previous QuestionNext Question
How would you estimate the weight of the Chrysler building?What have you done to reduce costs, increase revenue, or save time?