tag:blogger.com,1999:blog-8712770457197348465.post1497498974270311620..comments2014-04-23T19:58:45.814-07:00Comments on Javarevisited: Top 10 Puzzles, Riddles, Logical and Lateral Thinking questions asked in Programming Job InterviewsJavin Paulhttps://plus.google.com/114528699166048052030noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-8712770457197348465.post-68665934820895960912014-04-20T15:21:10.445-07:002014-04-20T15:21:10.445-07:00Answer to question 7. The doctor is the father of...Answer to question 7. The doctor is the father of the dead person. the dead person's son brings him to the hospital immediately after the accident. Grand father is the doctor, father is the dead person. His son remains alive.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-50936809886958338702014-04-05T04:06:41.658-07:002014-04-05T04:06:41.658-07:00Answer to Question No 4. Switch on first switch. W...Answer to Question No 4. Switch on first switch. Wait for 2 minutes. Switch on second switch. Go inside the room and touch the bulbs to find out which bulb belongs to which switch. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-75579322810435620542014-04-05T03:46:53.353-07:002014-04-05T03:46:53.353-07:00Answer to Qustion No 1 is 4
1. 13, 13. Remaining 1...Answer to Qustion No 1 is 4<br />1. 13, 13. Remaining 1<br />2. 6, 6. Remaining 1<br />3. 3,3. Remaining 0<br />4. 1,1. Remaining 1Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-52703572748608186512014-04-05T03:44:09.012-07:002014-04-05T03:44:09.012-07:00Answer to Question No 3:
Let Length of tunnel = x
...Answer to Question No 3:<br />Let Length of tunnel = x<br />When they saw the train, distances to the ends of tunnel: x/3 and 2x/3<br />Time taken (TT) by 2x/3 person = TT by train to reach the first end + TT by the train inside the tunnel<br />Time taken (TT) by 2x/3 person = TT by x/3 person + TT by the train inside the tunnel<br />ie (2x/3)/10 = (x/3)/10 + x/Y (time = distance/velocity: Y = Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-81357677746150893232013-12-24T01:53:32.474-08:002013-12-24T01:53:32.474-08:00Answer to Puzzle 7
May be the child and father h...Answer to Puzzle 7 <br /> May be the child and father hit a church father.And may be that doctor is actual mother of the church father. Saikiran Reddyhttp://www.blogger.com/profile/03785142396859891177noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-50606500361007070682013-11-26T06:52:46.570-08:002013-11-26T06:52:46.570-08:00Answer to Puzzle 7
The Father from Church travels ...Answer to Puzzle 7<br />The Father from Church travels with a son who is not his biological son!<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-13977925752237517672013-11-25T15:17:41.253-08:002013-11-25T15:17:41.253-08:00This does not proof that three is the minimum, onl...This does not proof that three is the minimum, only that it is possible in three times, so it does not solve the problemAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-90071637888539978992013-11-19T04:46:53.416-08:002013-11-19T04:46:53.416-08:00Ans. of Que 10 .
child's age 6 years
father...Ans. of Que 10 .<br />child's age 6 years<br />father's age 42 years<br />grand father's age 72 yearsChirag Bansalhttp://www.blogger.com/profile/03069761123016337682noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-82194416610362114462013-11-15T21:00:46.728-08:002013-11-15T21:00:46.728-08:00answer of question4
first switch on any switch fr...answer of question4<br /><br />first switch on any switch from those 3 and keep it ON for 15 mins and then switch it off . Now switch on any other switch and keep it ON ,Now you enter the room .Touch any one of the bulbs ,if any of those are hot means it belongs to the first switch you turned on and then off . The second bulb is already ON so you know the switch implicitly. The third bulb was rajivhttp://www.blogger.com/profile/05751530756190226040noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-66265237532354709292013-10-08T11:38:21.299-07:002013-10-08T11:38:21.299-07:00Number 9 should be 12 mins.
first A(1) and B(2) cr...Number 9 should be 12 mins.<br />first A(1) and B(2) cross the bridge in 2 mins<br />then C(5) and D(10) cross the bridge in 10 mins.<br />Nobody said there was only one torch.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-82793487498787564252013-09-30T08:18:44.016-07:002013-09-30T08:18:44.016-07:00Q6 says a person shooted HER wife. Then later , it...Q6 says a person shooted HER wife. Then later , it says HE hang her. So i think that the he and her are two different people and the two of them went for dinner. This is just my opinion.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-16688678598341465292013-09-02T04:38:02.769-07:002013-09-02T04:38:02.769-07:00answer of the 3 one is 30 kmph
answer of the 3 one is 30 kmph<br />Paidisetti Udaykumarhttp://www.blogger.com/profile/11451262084471179831noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-86762535560282020402013-09-02T04:30:14.403-07:002013-09-02T04:30:14.403-07:00ans 3; train speed is 30 kmph
v=d/t first u have t...ans 3; train speed is 30 kmph<br />v=d/t first u have to caliculate the time to travel from the 1/3 of the tunnel to one person who travelled towards to train is 10=(1/3)/t from this equation u will get t value is 1/30 hrs and now should go the second person who is the running away from the train.(1/v)=(1/3)/10 from this equation u will get the v value means train speed is 30 kmph<br /> Paidisetti Udaykumarhttp://www.blogger.com/profile/11451262084471179831noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-37163040824561266482013-08-08T13:31:10.534-07:002013-08-08T13:31:10.534-07:00Fill the 3lit jug and pour water into 5 liter.agai...Fill the 3lit jug and pour water into 5 liter.again fill 3lt and pour water into 5 liter.<br />So 1 lt is left in 3lt.<br /><br />Throw the water from 5lt.and fill the 1lt water in 5lt.now again fill 3lt and pour in 5 lt.<br />1+3=4...done<br />Harsha Singhhttp://www.blogger.com/profile/09912557398138411663noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-3729141317207200962013-06-28T11:53:59.433-07:002013-06-28T11:53:59.433-07:00ya 30kmph is correct for quest 3...
gnsya 30kmph is correct for quest 3...<br /><br />gnsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-37065250762904410272013-06-15T21:06:20.238-07:002013-06-15T21:06:20.238-07:00fill up the 5 liter jug and 3 litre jug to its hal...fill up the 5 liter jug and 3 litre jug to its half portion..that is 2.5 + 1.5=4litres ...thats it<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-24128402329738790032013-06-03T22:07:31.057-07:002013-06-03T22:07:31.057-07:00answer to first question is 1.
They asked the mini...answer to first question is 1.<br />They asked the minimun no of measures. Keep one aside and weigh 13 each on two pans. If they balance out, you have the answerAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-11081326898369648402013-05-20T03:31:21.070-07:002013-05-20T03:31:21.070-07:00answer for 6 is
He is taking and developing a pho...answer for 6 is<br /><br />He is taking and developing a photograph of his wife.ayushc1405http://www.blogger.com/profile/07257240891878480607noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-83420877416826788052013-05-15T23:00:12.755-07:002013-05-15T23:00:12.755-07:00answer for 7th is.....
doctor is childs mother.answer for 7th is.....<br /><br />doctor is childs mother.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-54600018987263264872013-05-09T04:28:33.924-07:002013-05-09T04:28:33.924-07:00Answers to 10. 6 years, 42 years and 72 years. cla...Answers to 10. 6 years, 42 years and 72 years. classic Solve the equations with three variables problem...Puneetnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-86990568440909729592013-04-29T23:13:19.100-07:002013-04-29T23:13:19.100-07:00Answer of Questions 8:
1) Completely fill 5 liter...Answer of Questions 8:<br /><br />1) Completely fill 5 liter Jug with water.<br />2) Pour water from 5 litter Jug to 3 liter Jug, which means you will left with 2L of water.<br />3) Now empty 3L jug and pour 2L into them. Now your 3L jug contains 2L of water and 5L jug is empty.<br /><br />4) Now refill 5L jug and pour into 3L jug which contains 2L water already. Once you fill 3L jug, you will Suchitnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-51828392750781871372013-04-22T10:19:28.792-07:002013-04-22T10:19:28.792-07:00Please correct me if I am wrong.
For the third qu...Please correct me if I am wrong.<br /><br />For the third question, I think the speed of train is 30 km/h.<br /><br />At the moment when train enters the tunnel, the first runner runned 1/3 of the tunnel and safely escaped. The second runner runned 1/3 of tunnel in oposite direction, so he has another 1/3 of tunnel to run when the train has complete tunnel length to pass. The time is equal, so weAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-12564032454969284182013-04-21T19:54:41.937-07:002013-04-21T19:54:41.937-07:00@Anonymous, Answer of puzzle 4 is very easy. You ...@Anonymous, Answer of puzzle 4 is very easy. You can keep one bulb on for couple of minutes and then switch that off and on another switch. Now you can go into room, the one, which is hot is associated with previous switch you pressed, current bulb is the switch you just pressed and the remaining third one is, well you know.Rakeshnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-66610199983659732482013-04-21T19:52:13.834-07:002013-04-21T19:52:13.834-07:00Answer to Question 1 : Key here is to understand t...Answer to Question 1 : Key here is to understand that 27 is cube of 3, which means it will take minimum 3 weighing attempts to find defective coin. Let's assume defective coin is heavier than normal coins, now divide 27 coins into group of 9. Out of three groups, weigh two of them in balance. The group with heavier coin, will go down, which means you can discard two groups right that time. Rakeshnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-55798565738285352902013-04-20T09:59:41.041-07:002013-04-20T09:59:41.041-07:00Answers
1. require 3 weighing
step 1 take 9 ea...Answers <br />1. require 3 weighing<br /> step 1 take 9 each on each side of balance<br /> eliminate the two sets ;remaining 9<br /> step 2 take 3 each on each side of balance<br /> eliminate the two sets; remaining 3<br /> step 3 take 1 each on each side of balance<br /> eliminate the two sets<br /><br />2. burn 1st stick from both sides and second from one side.Anonymousnoreply@blogger.com