Re: Tortoise-hare algorithm

2014-11-13 Thread Patric Fornasier
elp, make sure people can get immediately what is going on. >>> (READ: comment the code) >>> >>> >>> On Saturday, June 29, 2013 1:34:57 PM UTC+2, Zhemin Lin wrote: >>>> >>>> Hi. >>>> One of my colleagues gave a share about the

Re: Tortoise-hare algorithm

2013-06-29 Thread Zhemin Lin
just a friendly suggestion, if you share code, >> and need some help, make sure people can get immediately what is going on. >> (READ: comment the code) >> >> >> On Saturday, June 29, 2013 1:34:57 PM UTC+2, Zhemin Lin wrote: >>> >>> Hi. >>> One

Re: Tortoise-hare algorithm

2013-06-29 Thread Cedric Greevey
ave a share about the cycle detecting tortoise-hare >> algorithm >> (wiki<http://en.wikipedia.org/wiki/Cycle_detection#Tortoise_and_hare> >> ). >> I translated the script on Wiki from Python to Clojure. >> It worked, but not elegant. I'd like to make it mo

Re: Tortoise-hare algorithm

2013-06-29 Thread Simone Mosciatti
the cycle detecting tortoise-hare > algorithm > (wiki<http://en.wikipedia.org/wiki/Cycle_detection#Tortoise_and_hare> > ). > I translated the script on Wiki from Python to Clojure. > It worked, but not elegant. I'd like to make it more functional, more > tasty. >

Tortoise-hare algorithm

2013-06-29 Thread Zhemin Lin
Hi. One of my colleagues gave a share about the cycle detecting tortoise-hare algorithm (wiki<http://en.wikipedia.org/wiki/Cycle_detection#Tortoise_and_hare> ). I translated the script on Wiki from Python to Clojure. It worked, but not elegant. I'd like to make it more functional,