Skip to content

Commit 7db0d54

Browse files
authored
Merge pull request #219 from yy214123/fix-comment-errors
Fix incorrect comments
2 parents 9b72b2b + b698121 commit 7db0d54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ int q_size(struct list_head *head);
134134
*
135135
* The middle node of a linked list of size n is the
136136
* ⌊n / 2⌋th node from the start using 0-based indexing.
137-
* If there're six elements, the third member should be returned.
137+
* If there're six elements, the third member should be deleted.
138138
*
139139
* Reference:
140140
* https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/

scripts/checksums

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
45da6585400a15237f09d896bbb807f85f449e92 queue.h
1+
398b59c23f699ff1bf1e73a94503a9a91caa9207 queue.h
22
9be9666430f392924f5d27caa71a412527bf9267 list.h
33
3bb0192cee08d165fd597a9f6fbb404533e28fcf scripts/check-commitlog.sh

0 commit comments

Comments
 (0)