lintcode 中的第 102 题,检查一个链表中是否带环
This commit is contained in:
parent
636e66a097
commit
08da871faa
@ -8,11 +8,11 @@ import com.ossez.lang.tutorial.models.ListNode;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* 102
|
* 1480
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>@see <a href=
|
* <li>@see
|
||||||
* "https://www.cwiki.us/display/ITCLASSIFICATION/Linked+List+Cycle">https://www.cwiki.us/display/ITCLASSIFICATION/Linked+List+Cycle</a>
|
* <a href= "https://www.cwiki.us/display/ITCLASSIFICATION/Dot+Product">https://www.cwiki.us/display/ITCLASSIFICATION/Dot+Product</a>
|
||||||
* <li>@see<a href= "https://www.lintcode.com/problem/linked-list-cycle/">https://www.lintcode.com/problem/linked-list-cycle/</a>
|
* <li>@see<a href= "https://www.lintcode.com/problem/dot-product/">https://www.lintcode.com/problem/dot-product/</a>
|
||||||
* </ul>
|
* </ul>
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
@ -60,4 +60,5 @@ public class LintCode0102HasCycleTest {
|
|||||||
System.out.println(retResult);
|
System.out.println(retResult);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user