题目1: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 题目2: Given a linked list, return th ...
分类:
其他好文 时间:
2018-07-11 12:36:46
阅读次数:
131
思路:
一想到唯一就直接联想到了hashSet,至于在不用额外存储空间的情况下把题目搞出来,这个,确实还没有想到,to be continued.........
分类:
其他好文 时间:
2015-02-03 13:27:23
阅读次数:
174