Is a famous "Artificial Intelligence" problem. This is the solution I came up with when it was given as an assignment at our college.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
more_sample_io Lot of mistakes in the algorithm but for now, Final. Feb 1, 2012
.gitignore Start to read from a file Dec 21, 2011
README.md update with like to new one May 4, 2018
WaterJug.py

README.md

#The Universal Solution For Water Jug Problem

The program can solve almost all kinds of water jug problems and find all possible solutions to it.

Update:^That's what I thought.But on testing found some real Problems.Will correct them.

Update 2: Here is a new one written in haskell, cleaner and working.