
合并排序
文章平均质量分 79
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 327. Count of Range Sum(区间和计数)
原题网址:https://leetcode.com/problems/count-of-range-sum/ Given an integer array nums, return the number of range sums that lie in [lower, upper] inclusive. Range sum S(i, j) is defined as the su原创 2016-04-28 00:32:14 · 3758 阅读 · 0 评论 -
LeetCode 75. Sort Colors(颜色排序)
原题网址:https://leetcode.com/problems/sort-colors/ Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order re原创 2016-05-22 05:19:20 · 608 阅读 · 0 评论 -
LeetCode 315. Count of Smaller Numbers After Self (逆序数对)
原题网址:https://leetcode.com/problems/count-of-smaller-numbers-after-self/ You are given an integer array nums and you have to return a new counts array. The counts array has the property where coun原创 2016-04-22 13:21:32 · 7496 阅读 · 2 评论