摘要:
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:Can you solve it without using extra space?一次... 阅读全文
posted @ 2014-06-20 08:04
neverlandly
阅读(242)
评论(0)
推荐(0)
摘要:
Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime co... 阅读全文
posted @ 2014-06-20 07:49
neverlandly
阅读(272)
评论(0)
推荐(0)
摘要:
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Analysis: typical Runner Technique. 一次过 1 ... 阅读全文
posted @ 2014-06-20 07:14
neverlandly
阅读(245)
评论(0)
推荐(0)
浙公网安备 33010602011771号