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 |
例句 |
原声例句
科技 Crash Course 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 指针更改为指向新人。 |
随便看 |
|
英语例句辞典收录519880条英汉例句词条,基本涵盖了全部常用单词的造句方法及例句,是英语学习的有利工具。