Skip to content

第三题 #1

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

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 commented Sep 10, 2019

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

@DmrfCoder
Copy link
Owner

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

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

No branches or pull requests

2 participants