Add what is Cursor Linked List (#2407)
This commit is contained in:
parent
dab6def183
commit
9300a4e0f8
@ -2,6 +2,13 @@ package DataStructures.Lists;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* This class implements a Cursor Linked List.
|
||||
*
|
||||
* A CursorLinkedList is an array version of a Linked List. Essentially you have an array of list nodes but instead of
|
||||
* each node containing a pointer to the next item in the linked list, each node element in the array contains the index for the next node element.
|
||||
*
|
||||
*/
|
||||
public class CursorLinkedList<T> {
|
||||
|
||||
private static class Node<T> {
|
||||
|
Loading…
Reference in New Issue
Block a user