标签:
原题链接:https://leetcode.com/problems/reverse-linked-list/
题目:
Reverse a singly linked list.
Hint:
A linked list can be reversed either iteratively or recursively. Could you implement both?
思路:
头插法建立链表
算法:
标签:
原文地址:http://blog.csdn.net/yeqiuzs/article/details/51606457