Python Dangerzone: All you wanted to know about Python but were afraid to ask Collection of different puzzles and interesting algorithms in Python: Cycle detection problem (different algorithms and their comparison)