Write a MoveFirst() for Circular Linked List

Ads

 
 

Share on Google+Share on Google+

sean
Write a MoveFirst() for Circular Linked List
0 Answer(s)      5 years and 3 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"

Ads
View Answers
Ads









Related Tutorials/Questions & Answers: