A New Approach For Solving The Generalized 2 Jugs Decanting Problem

You have a 3L jug and a 5L jug. Each is empty but you have tap of running water that you can use to fill each jug. Can you fill the big jug with 4L water by filling, emptying and pouring water from one jug to the other? This article shows how you can solve these type of problems in general.