Questions from a Recruiter to a Candidate – E122

October 22, 2023 0 Comments
  1.           You are given a box of matches and a piece of rope.  The rope burns at the rate of one rope per hour, but it may not burn uniformly.  For example, if you light the rope at one end, it will take exactly 60 minutes before the entire rope has burnt up, but it may be that the first 1/10 of the rope takes 50 minutes to burn and that the remaining 9/10 of the rope takes only 10 minutes to burn.  How can you measure a period of exactly 30 minutes?  You can choose the starting time.  More precisely, given the matches and the rope, you are to say the words “start” and “done” exactly 30 minutes apart…….
  2.         A (presumed smart) insurance agent knocks on a door and a (presumed smart) woman opens.  He introduces himself and asks if she has any children.  She answers: 3.  When he then asks their ages (which for this problem we abstract to integers), she hesitates.  Then she decides to give him some information about their ages, saying “the product of their ages is 36”.  He asks for more information and she gives in, saying “the sum of their ages is equal to our neighbors’ house number”.  The man jumps over the fence, inspects the house number, and the returns.  “You need to give me another hint”, he begs.  “Alright”, she says, “my oldest child plays the piano”.  What are the ages of the children?..
  3.         There are two tribes in Mars, Lie tribe and Truth Tribe.Lie tribe always speaks lie, True tribe always speaks truth.You meet three mars people and ask From First Person: What tribe you belong to?, he replies something in his language which you don’t understand.Second person tells that he is saying that he belongs to Lie Tribe.Third person says that second person is lying.What tribe does the third person belong to?……