Skip to main content

All Questions

1 vote
2 answers
116 views

Circular list vs. doubly-linked list: which is faster?

In this post, I will compare performance of a circular list and a conventional list with head/tail -references: ...
coderodde's user avatar
  • 30.2k
5 votes
1 answer
844 views

Linked list: removing first element

Method 1: ...
OverLordGoldDragon's user avatar
2 votes
1 answer
64 views

Using reference to head node while reversing linked list using recursion

Referring to my previous post, should I consider using current pointers for this code snippet for reversing a linked list using recursion? ...
John's user avatar
  • 195
6 votes
1 answer
740 views

Self-made LinkedList and Node

I have recently made two kinds of linked lists in Java. I know that there is one with generic and one without. However, what I am really concerned about is which style should be used mostly (or which ...
TerryZ's user avatar
  • 85