Skip to content

Commit

Permalink
Chore: clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Jan 12, 2019
1 parent 1cdb880 commit b922f2d
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,9 @@ class CircularDoublyLinkedList {
let i = 0;

/*
* Traverse the list, keeping track of the previous position so
* that we can remove the node once it's found. The loop is exited
* when either the start of the list is encountered or `i` is no
* longer less than `index` (meaning we have found the node to remove).
* Traverse the list and exit the loop when either the start of the
* list is encountered or `i` is no longer less than `index` (meaning
* we have found the node to remove).
*/
do {

Expand Down

0 comments on commit b922f2d

Please sign in to comment.