https://leetcode.com/problems/kth-smallest-element-in-a-bst/#/description ...
分类:
其他好文 时间:
2017-06-09 10:07:16
阅读次数:
149
1 - Follow up in Code Interview kth-smallest-number-in-sorted-matrix Find the kth smallest number in at row and column sorted matrix. [ [1 ,5 ,7], [3 ...
分类:
编程语言 时间:
2017-06-06 12:59:16
阅读次数:
774
@2017.06.04 Follow up in Code Interview 401 - kth-smallest-number-in-sorted-matrix 排序数组,即每一行每一列都是排好序的 类似于之前做的那道题,对这种排序数组,是从左上角往右下角看的。 每次pop一个最小值直到找到kt ...
分类:
其他好文 时间:
2017-06-04 19:53:37
阅读次数:
269
Given a n x n matrix where each of the rows and columns are sorted in ascending order, find the kth smallest element in the matrix. Note that it is th ...
分类:
其他好文 时间:
2017-06-04 09:48:32
阅读次数:
188
Problem :It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order.Find the smallest p ...
分类:
编程语言 时间:
2017-05-24 21:02:13
阅读次数:
249
https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/#/description ...
分类:
其他好文 时间:
2017-05-13 13:30:45
阅读次数:
146
Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre ...
分类:
编程语言 时间:
2017-05-10 19:47:08
阅读次数:
207
vjudge 上题目链接:UVA 11997 题意很简单,就是从 k 个数组(每个数组均包含 k 个正整数)中各取出一个整数相加(所以可以得到 kk 个结果),输出前 k 小的和。 这时训练指南上的一道题,这道题的简化版其实在 15 年的广东省省赛出现过,当时是以送分题的形式出现的,可我还是没能做出 ...
分类:
其他好文 时间:
2017-05-06 00:55:39
阅读次数:
181
Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is gre ...
分类:
其他好文 时间:
2017-05-02 19:53:35
阅读次数:
160