
LeetCode 算法题
工作以来,由于项目的单一性,对算法和数据结构基础的使用很局限。刷题是保持代码手感的重要方式。希望自己能日日勤奋,保持热情。
Sedate_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 561. Array Partition I
题目描述: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), …, (an, bn) which makes sum of min(ai, bi) for all i from 1 to n as large as原创 2017-04-24 19:19:08 · 2090 阅读 · 0 评论 -
LeetCode 35. Search Insert Position
题目描述: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the arra原创 2017-04-24 19:42:58 · 262 阅读 · 0 评论 -
LeetCode 495. Teemo Attacking 题目翻译+AC代码
英文原题: In LLP world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo’s attacking ascending time series towards Ashe and the poisoni原创 2017-02-01 21:09:30 · 2134 阅读 · 0 评论