Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第三题 #1

Open
ichuyi opened this issue Sep 10, 2019 · 1 comment
Open

第三题 #1

ichuyi opened this issue Sep 10, 2019 · 1 comment

Comments

@ichuyi
Copy link

@ichuyi ichuyi commented Sep 10, 2019

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

@DmrfCoder
Copy link
Owner

@DmrfCoder DmrfCoder commented Sep 23, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.