-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated terminology.md #1043
Updated terminology.md #1043
Conversation
@@ -1,14 +1,14 @@ | |||
# Queue | |||
|
|||
"Queue" is a linear data structure that follows the First-In-First-Out (FIFO) rule. As the name suggests, a queue simulates the phenomenon of lining up, where newcomers join the back of the queue, and people at the front of the queue leave one by one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all the changes in queue.md
in this PR
docs/chapter_appendix/terminology.md
Outdated
| 缓存命中率 | cache hit rate | 二分查找 | binary search | | ||
| 栈 | stack | 搜索算法 | searching algorithm | | ||
| 栈顶 | top of the stack | 排序算法 | sorting algorithm | | ||
| 栈尾 | bottom of the stack | 选择排序 | selection sort | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
栈底
ea85491
to
de315c2
Compare
docs/chapter_appendix/terminology.md
Outdated
| 缓存命中率 | cache hit rate | 二分查找 | binary search | | ||
| 栈 | stack | 搜索算法 | searching algorithm | | ||
| 栈顶 | top of the stack | 排序算法 | sorting algorithm | | ||
| 栈尾 | bottom of the stack | 选择排序 | selection sort | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
栈底
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
抱歉,改好了
docs/chapter_appendix/terminology.md
Outdated
| 递归 | recursion | 堆 | heap | | ||
| 尾递归 | tail recursion | 大顶堆 | max heap | | ||
| 递归树 | recursion tree | 小顶堆 | min heap | | ||
| 大 O 记号 | big-O notation | 优先队列 | priority queue | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep other glossaries invariant when adding the new glossaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Key Additions:
Head and Tail of Data Structures:
New entries have been added to explicitly define the terms "head" and "tail" for data structures like linked lists, queues, and stacks. This enhancement is crucial for clarity, as these terms are fundamental in understanding and implementing these structures.
For instance, "头节点" (head node) and "尾节点" (tail node) for linked lists, "队首" (front of the queue) and "队尾" (rear of the queue) for queues, and "栈顶" (top of the stack) and "栈尾" (bottom of the stack) for stacks are now clearly mentioned.