AlgorithmAndDataStructure icon indicating copy to clipboard operation
AlgorithmAndDataStructure copied to clipboard

第三题

Open ichuyi opened this issue 5 years ago • 1 comments

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

ichuyi avatar Sep 10 '19 06:09 ichuyi

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

DmrfCoder avatar Sep 23 '19 10:09 DmrfCoder