思路一:直接使用hashTable 思路二:http://bookshadow.com/weblog/2015/07/10/leetcode-linked-list-cycle-ii/ Read More
posted @ 2017-03-25 13:11
chengcy
Views(112)
Comments(0)
Diggs(0)
思路:对列表后半部分逆序排列,然后连接。其中还是需要注意head = cur;cur = cur->next;head->next = tmpNode;相对位置。 Read More
posted @ 2017-03-25 12:24
chengcy
Views(114)
Comments(0)
Diggs(0)