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)
Answer Posted / siddharth
By comparing romm numbers with the key number.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Why set is used in java?
What are basic keywords?
Can we define private and protected modifiers for the members in interfaces?
What is the benefit of abstract class?
What is the difference between Array and Hash Table?
Can we override constructors in java?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What are nested classes in java?
What is super keyword explain with example?
What is a generic type?
Can we create our own daemon thread?
Where is stringbuffer stored?
Differentiate between == and equals().
Can you declare the main method as final?
How do you define a singleton class?