Fixed the typo in comments

This commit is contained in:
Radhe Sravan
2019-11-23 17:56:46 +05:30
parent 83696dd9ae
commit 83d8ebed7e

View File

@@ -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;