You have three buckets with a capacity of 4 litres, 8 litres and 10 litres and you have a large tank of water. Now you have to measure 3 litres of water precisely using those buckets. How will you do it?
you are given four different jars of 2 litres, 4 litres, 6 litres and 8 litres respectively with an unlimited water supply. Then you are asked to measure exactly 5 liters of water using them.
How will you do it?