Skip to content

Commit

Permalink
Fix the grammar mistake in q_delete_mid
Browse files Browse the repository at this point in the history
Because queue.h is modified, we need to update the checksum
generated by command sha1sum
  • Loading branch information
Risheng1128 committed Feb 16, 2023
1 parent ec807d4 commit 52b40c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int q_size(struct list_head *head);
*
* The middle node of a linked list of size n is the
* ⌊n / 2⌋th node from the start using 0-based indexing.
* If there're six element, the third member should be return.
* If there're six elements, the third member should be returned.
*
* Reference:
* https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/
Expand Down
2 changes: 1 addition & 1 deletion scripts/checksums
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
e25e5e4849cf29022c8c9d9cafab93013ea48409 queue.h
6fc9cebc7287e85656bd0f80bb29162283e008ab queue.h
3337dbccc33eceedda78e36cc118d5a374838ec7 list.h

0 comments on commit 52b40c8

Please sign in to comment.