There are 3 buckets, A , B, C.we know that A>10 L , B > 10L ( A not equals to B), C= 1 or 2 L. We need to pouring water between the 3 buckets until we have one empty bucket. The rule is that you can pouring water from one bucket to another only in the same amount you have in the second bucket before the pouring, so after the pouring the second bucket has double amount of water. We need to use a binary representation to explain the steps until one of the buckets will be empty.