Goal: Get exactly 2 gallons of water in either jug.
This solution was found using a Breadth-First Search (BFS) algorithm, which guarantees the shortest path.
Developed by MD Karimulla Haque with ❤️