Algorithm
文章平均质量分 86
angelof7
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The Knapsack problem
I found the Knapsack problem tricky and interesting at the same time. I am sure if you are visiting this page, you already know the problem statement but just for the sake of completion : Problem:转载 2014-10-29 12:53:24 · 942 阅读 · 0 评论 -
LeetCode: Copy List with Random Pointer题解
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. public RandomListNode co原创 2014-12-16 13:35:40 · 808 阅读 · 0 评论 -
Linked List Cycle && Linked List Cycle II 解体思路
Problem I: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Problem II: Given a linked list, return the node where the cycle b原创 2014-12-13 19:22:29 · 499 阅读 · 0 评论 -
微软2016校园招聘在线笔试: [Islands Travel]
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 There are N islands on a planet whose coordinates are (X1, Y1), (X2, Y2), (X3, Y3) ..., (XN, YN). You starts at the 1st island (X1, Y1) a原创 2015-04-04 23:16:32 · 1714 阅读 · 4 评论
分享