
ACM
文章平均质量分 56
SlightK
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[DP] ZigZag -TopCoder
Count the longest ZigZag subsequence length.原创 2016-11-17 19:52:38 · 621 阅读 · 0 评论 -
[DP] AvoidRoads - TopCoder
Use DP to solve AvoidRoads problem.原创 2016-11-27 22:42:39 · 584 阅读 · 0 评论 -
[LeetCode]476.Number Complement
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note: The given integer is guaranteed to fit within the range of a 32-b原创 2017-02-03 09:20:00 · 334 阅读 · 0 评论 -
[LeetCode]461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distance.Note: 0 ≤ x, y < 2^31.My s原创 2017-02-03 09:27:14 · 483 阅读 · 0 评论 -
[LeetCode]1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ele原创 2017-02-03 09:32:32 · 393 阅读 · 0 评论