Skip to content
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

Merged
merged 5 commits into from
Jan 28, 2024
Merged

Updated terminology.md #1043

merged 5 commits into from
Jan 28, 2024

Conversation

longsizhuo
Copy link
Contributor

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.

@@ -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.
Copy link
Owner

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

@krahets krahets added the documents documents-related label Jan 14, 2024
| 缓存命中率 | cache hit rate | 二分查找 | binary search |
| 栈 | stack | 搜索算法 | searching algorithm |
| 栈顶 | top of the stack | 排序算法 | sorting algorithm |
| 栈尾 | bottom of the stack | 选择排序 | selection sort |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

栈底

| 缓存命中率 | cache hit rate | 二分查找 | binary search |
| 栈 | stack | 搜索算法 | searching algorithm |
| 栈顶 | top of the stack | 排序算法 | sorting algorithm |
| 栈尾 | bottom of the stack | 选择排序 | selection sort |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

栈底

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

抱歉,改好了

@krahets krahets changed the title translation: Updated terminology.md Updated terminology.md Jan 15, 2024
| 递归 | recursion | 堆 | heap |
| 尾递归 | tail recursion | 大顶堆 | max heap |
| 递归树 | recursion tree | 小顶堆 | min heap |
| 大 O 记号 | big-O notation | 优先队列 | priority queue |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$O$

Please keep other glossaries invariant when adding the new glossaries.

Copy link
Owner

@krahets krahets left a 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!

@krahets krahets merged commit d807077 into krahets:main Jan 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documents documents-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants