Puzzle - Interview Questions and Answers for 'Compro technologies' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 2796 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Puzzle - Interview Questions and Answers for 'Compro technologies' - 1 question(s) found - Order By Newest

 Q1. Given 2 jars of 5 ltr and 3 ltr, how will you get 4 ltrs in one of those jars ?Puzzle2017-03-27 08:38:54

Ans. Number 1 -

Fill the 5 litre can from the tap

Empty the 5 litre can into the 3 litre can leaving 2 litres in the 5 litre can.

Pour away the contents of the 3 litre can.Fill the 3 litre can with the 2 litres from the 5 litre can leaving 2 litres in the 3 litre can.

Fill the 5 litre can from the tap.Fill the remaining 1 litre space in the 3 litre can from the 5 litre can.Leaving 4 litres in the 5 litre can.

Number 2 -

Fill the 3 litre can from the tap.Empty the contents of the 3 litre can into the 5 litre can.

Fill the 3 litre can from the tap.Empty the contents of the 3 litre can into the 5 litre can leaving the 5 litre can full and 1 litre in the 3 litre can.

Pour away the contents of the 5 litre can. Pour the 1 litre from the 3 litre can into the 5 litre can.

Fill the 3 litre can from the tap. Empty the contents of the 3 litre can into the 5 litre can leaving 4 litres in the 5 litre can.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          Compro Technologies


Related Questions

 Suppose you have 8 balls, one of them is either have more/less weight, In how many least possible iterations would you find that ball?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: