Write a MoveFirst() for Circular Linked List
0 Answer(s)      4 years and 11 months ago
Posted in : Java Beginners

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: