3) Suppose you are a very rich person, having 50 rooms and
you have lost the key for one of the room's. How
effectively you can find this key? (Qs2 and Qs3 are related)

Answers were Sorted based on User's Feedback



3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the ro..

Answer / siddharth

By comparing romm numbers with the key number.

Is This Answer Correct ?    6 Yes 3 No

3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the ro..

Answer / manish srivastava

Pick the known 49 rooms key seprate

Is This Answer Correct ?    4 Yes 2 No

3) Suppose you are a very rich person, having 50 rooms and you have lost the key for one of the ro..

Answer / sureshkumar

How
effectively you can find this key?


U have the key("find this key?"). by u i find it

Is This Answer Correct ?    6 Yes 12 No

Post New Answer

More Core Java Interview Questions

Name the methods in mouse listeners ?

4 Answers  


Can static method access instance variables ?

0 Answers  


What is parsing a string?

0 Answers  


Explain method overloading and overriding?

6 Answers  


Is list ordered in java?

0 Answers  






How many types of java are there?

0 Answers  


Describe method overriding

0 Answers  


How are java objects passed to a method and what are native methods?

0 Answers   Genpact,


Difference between prefix and postfix forms of the ++operator?

3 Answers  


What is variable explain?

0 Answers  


How can we achieve thread safety in java?

0 Answers  


Why is prepared Statement, Callable Statement used for? What is the need of Batch updates?

1 Answers   Logica CMG,


Categories