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 指针更改为指新人。
关注我们的微信
下载手机客户端
划词翻译
详细解释