We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a1a9e2 commit dfcff9bCopy full SHA for dfcff9b
docs/java/collection/LinkedList.md
@@ -458,7 +458,7 @@ public class LinkedListDemo {
458
linkedList.add(3);
459
linkedList.removeFirstOccurrence(3); // 从此列表中移除第一次出现的指定元素(从头部到尾部遍历列表)
460
System.out.println("After removeFirstOccurrence(3):" + linkedList);
461
- linkedList.removeLastOccurrence(3); // 从此列表中移除最后一次出现的指定元素(从头部到尾部遍历列表)
+ linkedList.removeLastOccurrence(3); // 从此列表中移除最后一次出现的指定元素(从尾部到头部遍历列表)
462
463
464
/************************** 遍历操作 ************************/
0 commit comments