摘要: /* 开始用hash做的,但这明显不是最优的*//** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : v... 阅读全文
posted @ 2015-03-15 13:48 SprayT 阅读(102) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; *... 阅读全文
posted @ 2015-03-15 13:12 SprayT 阅读(109) 评论(0) 推荐(0) 编辑