摘要: 一道OJ题:https://leetcode.com/problems/count-of-smaller-numbers-after-self/ 1.暴力 时间复杂度O(n^2) 2.归并排序 O(nlog(n)) 在合并的过程中是将两个相邻并且有序的序列合并成一个有序序列,如以下两个有序序列 Se 阅读全文
posted @ 2016-08-20 09:44 Shiyu_Huang 阅读(247) 评论(0) 推荐(0)