diff options
author | William Carroll <wpcarro@gmail.com> | 2020-11-21T14·47+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-11-21T14·47+0000 |
commit | 70e74a4027a762180840ec79ccec9c8f998a7683 (patch) | |
tree | 1235f29af42579806cf2470ef98e93c3ed47e099 /scratch/facebook/interview-cake/nth-fibonacci.py | |
parent | cbdac306433dec51c99cc0b363dcfd8d063f78c3 (diff) |
Solve "linked-list-cycles"
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.
Diffstat (limited to 'scratch/facebook/interview-cake/nth-fibonacci.py')
0 files changed, 0 insertions, 0 deletions