Re: Can anyone help with a jug problem in clojure

2016-02-01 Thread Dmitry Lipovoi
This is not a clojure related question rather algorithmic one. And real challenge here is to find 3 different solutions that lay in different CS-related topics. I'm pretty sure authors didn't mean three similar variations of a single solution here. As pointed above, one way to solve it, and proba

Re: Can anyone help with a jug problem in clojure

2016-01-26 Thread gianluca torta
Hi Steve, this lookslike a typical problem that requires "artificial intelligence" (AI) search: http://www.tutorialspoint.com/artificial_intelligence/artificial_intelligence_popular_search_algorithms.htm once you have a general strategy based on the above algos in mind, a quite orthogonal probl

Can anyone help with a jug problem in clojure

2016-01-26 Thread stevegarrid1234
Hi, i am completely new to clojure and i have been given the task of finding 3 different ways of solving the problem here: https://uva.onlinejudge.org/external/5/571.html Im hoping that if someone can point me in right direction of a solution hopefully ill be able to figure out the other 2 solu