Skip to content

第三题 #1

Open
Open

Description

@ningersweet

第三题的解答似乎是从头到尾打印,而题目是从尾到头,应该使用递归解决

Activity

  1. DmrfCoder commented on Sep 23, 2019

    @DmrfCoder
    Owner

    第14行是核心代码,每次将当前元素插入到链表的下标为0的位置,这样最后就是逆序的结果了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions