Skip to content

1.1.1 如何实现一个高效的单向链表逆序输出?答案有误 #29

Open
@jihongboo

Description

@jihongboo

node* pcur=head->next;
此处应修改为 node* pcur=head, 否则输出时将会丢失第一个元素。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions