about summary refs log tree commit diff
path: root/scratch/facebook/interview-cake/nth-fibonacci.py
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-11-21T14·47+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-11-21T14·47+0000
commit70e74a4027a762180840ec79ccec9c8f998a7683 (patch)
tree1235f29af42579806cf2470ef98e93c3ed47e099 /scratch/facebook/interview-cake/nth-fibonacci.py
parentcbdac306433dec51c99cc0b363dcfd8d063f78c3 (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