Fixed the typo in comments
This commit is contained in:
@@ -18,7 +18,7 @@ public class CircularLinkedList {
|
||||
tail.nextNode = newNode;
|
||||
}
|
||||
|
||||
// Irrespective of whether or not elements are addNodeed, assign the
|
||||
// Irrespective of whether or not elements are added, assign the
|
||||
// tail to newNode and the nextNode for tail as head
|
||||
tail = newNode;
|
||||
tail.nextNode = head;
|
||||
|
||||
Reference in New Issue
Block a user