next up previous
Next: Implement that hashtable Up: Assignment 10: Tables Previous: Count them words

Check those lists

Write a method for the List class that checks whether the list contains a loop. Your method should be linear in the number of nodes.



Allen Downey
Mon Nov 13 09:42:26 EST 2000