Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anirudhbagri/water-jug-problem
Classical Water jug problem solved using BFS.
https://github.com/anirudhbagri/water-jug-problem
bfs hacktoberfest water-jug-problem
Last synced: 26 days ago
JSON representation
Classical Water jug problem solved using BFS.
- Host: GitHub
- URL: https://github.com/anirudhbagri/water-jug-problem
- Owner: anirudhbagri
- Created: 2016-09-07T16:31:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-08T15:42:18.000Z (about 8 years ago)
- Last Synced: 2024-05-21T06:54:15.541Z (6 months ago)
- Topics: bfs, hacktoberfest, water-jug-problem
- Language: C++
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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)