摘要: 归并排序 (求逆序数) 归并排序:递归+合并+排序 时间复杂度:O(n logn) 空间复杂度:O(n) 用途:1.排序 2.求逆序对数 Description In this problem, you have to analyze a particular sorting algorithm. 阅读全文
posted @ 2015-08-04 20:39 tmj 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 油田问题(L - 暴力求解、DFS) Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with o 阅读全文
posted @ 2015-08-04 17:14 tmj 阅读(316) 评论(0) 推荐(0) 编辑