Fixed the typo in comments

This commit is contained in:
Radhe Sravan 2019-11-23 17:56:46 +05:30
parent d0517d232f
commit 112593b415
1 changed files with 1 additions and 1 deletions

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;