Tuesday, May 16, 2006

logic tests

I've only gone for three job interviews so far. First and second interviews for a semiconductor company and a redundant other from one of the ministries. i do want that semiconductor's job. Not that they're offering a lucrative five day week offer or anything. On the contrary, it's probably the most demanding job an engineer could have. 12 hour night shifts. Work on weekends. Challenging and good enough for no-lives like me.

Wierd enough, this semiconductor company loves logic tests. From the very first day of interview, i was given an hour's logic test. It's not abnormal to leave the room midway through the test. I've seen a guy do that. He was beginning to suspect his intelligence, i suppose. Well, i thought i had cleared the "logical" aspect of the interview after that hour long test but it soon proved otherwise. My first interview took 45 minutes. Inclusive of impromptu logic tests put forward by the interviewer. The questions were not that demanding i suppose. It is the silence while your interviewer awaits your answers that frightens.

This was the question posed to me then:

Suppose i give you a closed box filled with 3 pairs of blue socks, 5 pairs of red socks, and 8 pairs of black socks. What is the minimum number of tries you would have to do in order to obtain a pair of socks of the same colour sucessfully? You cannot peep into the box.

My interviewer then awaited my answer. I was like frantically thinking about the answer while the interviewer was fliiping through my resume and logic tests results. Fortunately, i came out with the answer in like 3 minutes. 3 long minutes.

Next he went on to ask:

Now suppose the question is posed this way. Instead of socks, i give you a box filled with boxing gloves. Numbers or quantities remain the same as in the question with socks. What is the minimum number of tries this time then?

I took like 7 minutes this time. Got the correct answer. Seemed like eternity.

All the while, my interviewer would wait patiently for my answers. Just him and me alone in a small room. Silence. Probably not silence. Mumblings. You mumbling to oneself, trying to make sense of the questions. Enough of resume flipping, the interviewer now fixes his eyes on the pathetic you, awaiting your answer.

Probably the most unconventional interview i had ever. Nothing technical asked. Just logic and more logic.

I thought i had gone through the worst. Until today's second interview with that semiconductor company.

Another round of impromptu logic tests by today's interviewer.

Never knew interviews were so challenging.

4 Comments:

Anonymous Anonymous said...

Whats the answer dude?

10:14 PM  
Blogger winterfangs said...

haha...answers' 4 for the first and 17 for the second question...hope u got it correct!

11:43 AM  
Anonymous Anonymous said...

cant figure out. I give up. even for the other 2 ques

12:08 PM  
Blogger winterfangs said...

READ THIS ONLY IF YOU ARE UNABLE TO SOLVE QUESTIONS 1 AND 2 OF INTERVIEW 1 AND WOULD WANT THE ANSWER!!!!



QUESTION 1
See that there are only three different colors: Blue, Yellow and Black. Assuming the worst possible case e.g. First pick gives you a blue, second pick gives you a yellow and the third pick gives you a black. Therefore the fourth pick has to give you either of the three colors. That is to say the fourth pick will definitely result in a pair of the same color! Hence the minimum number of tries in order to guarantee a pair of the same color is 4!


QUESTION 2
What is the difference between a pair of boxing gloves and a pair of socks. Well, boxing gloves have a left and a right while socks do not. As a result, in order to obtain a correct pair of gloves, you would have to get a left and a right of the same color. As in Question 1, we look at the worst possible case. Assuming the first pick gives you a left glove, second a left glove, third a left glove....Since there are a total of 16 pairs of gloves, the worst possible case would be picking 16 left gloves one after another. On the 17th try, you'll definitely pick a RIGHT glove since you have already picked all 16 lefts of the 16 pairs of gloves and the remaining gloves in the box are now all right gloves! Therefore, the minimum number of tries to guarantee a pair of gloves of the same color is 17!

HOPE THESE HELPS!

9:36 AM  

Post a Comment

<< Home