- 博客(2)
- 收藏
- 关注
原创 [算法][LeetCode]Linked List Cycle & Linked List Cycle II——单链表中的环
题目要求Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up: Can you solve it without using extra space?如何判断一个单链表中有环?Linked List Cycle IIGiven a linked li
2013-11-05 17:27:35 1526
原创 [算法][LeetCode]Search a 2D Matrix——二维数组的二分查找
题目要求Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right.The first intege
2013-11-01 21:25:14 1669
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人