Find Circle Entry for Linked List
The thinking about this question comes from Question 142 and 287 in LeetCode.
We all know that we can use two pointers to decide if there is a circle in a list:
fast: move 2 steps each time
sl...
原创
2017-09-05 12:29:14 ·
199 阅读 ·
0 评论