Movatterモバイル変換


[0]ホーム

URL:


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

Commit4ef208b

Browse files
edit 146
1 parentaeebda0 commit4ef208b

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+2
-1
lines changed

‎src/main/java/com/fishercoder/solutions/_146.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ public void set(int key, int value) {
142142
}
143143

144144
privatevoidremove(DoublyLinkedListPlusHashMapSolution.Nodenode) {
145-
DoublyLinkedListPlusHashMapSolution.Nodenext =node.next,prev =node.prev;
145+
DoublyLinkedListPlusHashMapSolution.Nodenext =node.next;
146+
DoublyLinkedListPlusHashMapSolution.Nodeprev =node.prev;
146147
prev.next =next;
147148
next.prev =prev;
148149
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp