Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /