• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modify a Linked Linear list into a Circular List.

 
Ronald Spina
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hello guys,
Above is my working code for a linked list named EmployeeList. It implements a linear structure. I need to turn it into a circular list. I know that a circular list has the last node which points to the first node. There is no head.
Can someone help me and tell which method I have to change from the above code to change it to a circular list.
Please help cause i need this for the exam.
Thank you very much.
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you wrote this code yourself and understand it, and if you understand the linked lists and circular linked lists, then you should be able to figure out how to change it. At the very least, you should be abelt to make some educated attempts and post a more specific question than "which method do I change?"

The fact that this is for an exam is all the more reason why you should work out as much as possible on your own.

Good luck, and post when you have a more specific question!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic