If we want to enqueue someone, that is, add them to the line, we have to traverse down the linked list until we hit the end, and then change that next pointer to point to the new person.
如果我们想将某人入队,也就是将他们添加到行中,我们必须向下遍历链表直到到达末尾,然后将 next 指针更改为指向新人。
单词 | enqueue |
释义 |
enqueue
|
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。