b***k 发帖数: 2673 | 1 ☆─────────────────────────────────────☆
yqwen (小少爷) 于 (Thu Sep 13 09:13:15 2007) 提到:
只能用有限的variable.
☆─────────────────────────────────────☆
shuwang (shuwang) 于 (Thu Sep 13 10:40:27 2007) 提到:
set p as the starting point, then
go through the linked list and check whether current point is eq p.
stop until you get back to p or you get to the end of the list.
am I right?
☆─────────────────────────────────────☆
eventhorizon (洒水车) 于 (Thu Sep 13 11:39:46 2007) 提到:
No, the list may have a |
|