
数对
文章平均质量分 82
jmspan
这个作者很懒,什么都没留下…
展开
-
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 评论 -
LeetCode 373. Find K Pairs with Smallest Sums
原题网址:https://leetcode.com/problems/find-k-pairs-with-smallest-sums/ You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists原创 2016-07-14 00:51:28 · 800 阅读 · 0 评论