Write a predicate for checking if a linked-list contains a cycle. For additional practice, I also implemented a function that accepts a linked-list containing a cycle and returns the first element of that cycle. |
||
|---|---|---|
| .. | ||
| bst-checker.py | ||
| linked-list-cycles.py | ||
| merge-sorted-arrays.py | ||