Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 247 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 247 Bytes

Water-Jug-Problem

Classical Water jug problem solved using BFS. Input : Capacity of water jugs and the required configuration. Output : Steps to reach the final configuration. Example : Input 4 3 2 3 Output : (0,0)(4,0)(1,3)(1,0)(0,1)(4,1)(2,3)