[Solved] Need an algorithm to solve this problem [closed]
Each time you fill a bucket of 10 liters, you will have 10 fewer liters in your source bucket. Each time you fill a bucket of 2 liters, you will have 2 fewer liters in your source bucket. Each time you fill a bucket of 50 liters, you will have 50 fewer liters in your … Read more