Write a MoveFirst() for Circular Linked List

Write a MoveFirst() for Circular Linked List

write a MoveFirst(T elt) method to point the head at that element. Then the tail would point to the element before that one.

so if i have " one two three four) and the moveFirst(two); it should read "two three four one"

View Answers









Related Tutorials/Questions & Answers:

Ads