This commit is contained in:
Speecker 2022-06-27 07:36:39 +02:00 committed by GitHub
parent c750283a1c
commit bf3ad33d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ public class CircleLinkedList<E> {
private Node<E> head = null; private Node<E> head = null;
private Node<E> tail = null; // keeping a tail pointer to keep track of the end of list private Node<E> tail = null; // keeping a tail pointer to keep track of the end of list
// constructer for class.. here we will make a dummy node for circly linked list implementation // constructor for class.. here we will make a dummy node for circly linked list implementation
// with reduced error catching as our list will never be empty; // with reduced error catching as our list will never be empty;
public CircleLinkedList() { public CircleLinkedList() {
// creation of the dummy node // creation of the dummy node