https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ ...
分类:
编程语言 时间:
2020-01-07 13:18:53
阅读次数:
89
这道题思路很简单,就是在一个loop下找最大的和第二大的数值。记住,python最小的数值是-sys.maxsize-1 ...
分类:
其他好文 时间:
2020-01-06 09:48:25
阅读次数:
66
select a.tablespace_name,a.bytes bytes_used,b.largest,round(((a.bytes - b.bytes)/a.bytes)*100,2) percent_used from (select tablespace_name,sum(bytes) ...
分类:
数据库 时间:
2020-01-05 00:17:23
阅读次数:
104
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. Example ...
分类:
其他好文 时间:
2020-01-03 21:27:13
阅读次数:
104
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: Input: 1 0 1 0 0 1 0 1 1 1 ...
分类:
其他好文 时间:
2019-12-27 13:47:34
阅读次数:
76
Description Given a board which is a 2D matrix includes a-z and dictionary dict, find the largest collection of words on the board, the words can not ...
分类:
其他好文 时间:
2019-12-22 00:39:36
阅读次数:
70
Description Find the contiguous subarray within an array (containing at least one number) which has the largest product. Description Description Find ...
分类:
其他好文 时间:
2019-12-21 22:54:06
阅读次数:
97
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. Example Exam ...
分类:
其他好文 时间:
2019-12-21 22:34:38
阅读次数:
87
Description Description Given a 2D binary matrix filled with 0's and 1's, find the largest square which diagonal is all 1 and others is 0. Only consid ...
分类:
其他好文 时间:
2019-12-21 22:24:34
阅读次数:
67
Description Description Given an array of integers, find a contiguous subarray which has the largest sum. The subarray should contain at least one num ...
分类:
其他好文 时间:
2019-12-21 22:17:06
阅读次数:
99