leedCode 刷题
文章平均质量分 75
lfx031020
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
leedCode 292 Nim Game 解题
问题描述: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will原创 2016-03-08 23:12:47 · 505 阅读 · 0 评论 -
leedCode 334 Increasing Triplet Subsequence
问题描述: Given an unsorted array return whether an increasing sub sequence of length 3 exists or not in the array. Formally the function should: Return true if there exists i, j, k such that arr[i]原创 2016-03-08 23:15:48 · 539 阅读 · 0 评论 -
leedCode 335 Self Crossing
问题描述: You are given an array x of n positive numbers. You start at point (0,0) and moves x[0] metres to the north, then x[1] metres to the west, x[2] metres to the south,x[3] metres to原创 2016-03-08 23:25:23 · 1687 阅读 · 1 评论
分享