Two Buckets Water Problem

Two Buckets Water Problem

We have two buckets, 1 of capacity 3liter and another of 5 litter. We have 5 litters of water. So how will we make combinations such that 1 bucket will have exactly 4 litters of water?
Answer:
First pour 5 liter of water in 3 liter container
now you will have 2 liter remaining in 5 liter
now empty the 3 liter and fill it with 2 liter from the 5 lit container
now take 5 liter and pour one more liter to 3 liter container
now you are left with 4 liter in 5 liter container

Comments

HTML/JAVASCRIPT

Popular posts from this blog

Teradata SQL Assistant Shortcuts

How to List All Tables in Oracle, MySql, Teradata, DB2 and PostgreSQL

7473 Requested sample is larger than table rows. All rows returned