TCS
Company
there r three buckets of 8,5 and 3 litres, out of which only 8 litre bucket is fully filled.... u hv to fill exact 4-4 litre liquid in 8 and 5litre bucket by using only these three buckets in minimum steps
Read Solution (Total 5)
-
- let 8lit-5lit-3lit
8-0-0
0-5-3
3-5-0
3-2-3
6-2-0
6-0-2
1-5-2
1-4-3
4-4-0
- 12 years agoHelpfull: Yes(22) No(6)
- initially 8 litre bucket is filled totally
considering three buckets capacity of 8,5,3 inorder
8-0-0 next we empty 8 lit bucket by filling 5&3 buckets
0-5-3 next we pass 3 litres from 3litre bucket to 8 litre bucket
3-5-0 next we fill 3 litre bucket from 5 litre remaining2 lit in it
3-2-3 next we pass 3 litres from 3lit bucket to 8 litre
6-0-2 next we fill 5 lt bucket from 8 lit bucket making
1-5-2 now we fill the whole 3 bucket from 5 lit bucket making it
1-4-3
now we shift the 3 litres from 3 lit bucket to 8 lit bucket making whole of 4 litres leading to our condition of 4-4-0 - 12 years agoHelpfull: Yes(5) No(1)
- 8-0-0
0-5-3
3-5-0
4-4-0
why it is not possible???
- 12 years agoHelpfull: Yes(4) No(6)
- let x= 8 ltr bucket , y= 5 ltr , z = 3 ltr
follow the steps below
x= 0 y= 5 z= 0
x= 3 y= 2 z= 0
x= 2 y= 5 z= 0
x= 3 y= 4 z= 0
x= 0 y= 0 z= 4
x= 0 y= 5 z= 4
x= 3 y= 2 z= 4
x= 2 y= 5 z= 4
x= 3 y= 4 z= 4 ans
- 12 years agoHelpfull: Yes(2) No(3)
- 8-0-0
0-5-3
4-1-3
4-4-0 - 12 years agoHelpfull: Yes(2) No(15)
TCS Other Question