Water Pouring Puzzle: Solve the 8-Liter Jug Problem

Water Pouring Puzzle: Solve the 8-Liter Jug Problem