Skip to content

Commit 22b323e

Browse files
CodingInvokerJiachen Zhoutrekhleb
authored
update linkedlist comment (trekhleb#687)
Co-authored-by: Jiachen Zhou <jiachen.zhou@rea-group.com> Co-authored-by: Oleksii Trekhleb <trehleb@gmail.com>
1 parent 5ffab57 commit 22b323e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data-structures/linked-list/LinkedList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default class LinkedList {
6565

6666
let deletedNode = null;
6767

68-
// If the head must be deleted then make next node that is differ
68+
// If the head must be deleted then make next node that is different
6969
// from the head to be a new head.
7070
while (this.head && this.compare.equal(this.head.value, value)) {
7171
deletedNode = this.head;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy