Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is th ...
分类:
其他好文 时间:
2016-08-30 18:08:27
阅读次数:
193
Find the largest country (by area) in each continent, show the continent, thename and the area: 找到每个洲面积最大的国家: 其实这种>=ALL(子查询) 最不好理解,因为SQL不是一门过程化语言,所以用起 ...
分类:
数据库 时间:
2016-08-27 19:22:21
阅读次数:
360
Find K-th largest element in N arrays. Example In n=2 arrays [[9,3,2,4,7],[1,2,3,4,8]], the 3rd largest element is 7. In n=2 arrays [[9,3,2,4,8],[1,2, ...
分类:
其他好文 时间:
2016-08-27 16:45:26
阅读次数:
220
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or ...
分类:
其他好文 时间:
2016-08-27 09:51:17
阅读次数:
140
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist ...
分类:
其他好文 时间:
2016-08-24 19:19:06
阅读次数:
197
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed n ...
分类:
其他好文 时间:
2016-08-23 21:52:53
阅读次数:
118
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Find the largest ...
分类:
其他好文 时间:
2016-08-22 18:16:49
阅读次数:
165
Layer Cake Dasha decided to bake a big and tasty layer cake. In order to do that she went shopping and bought n rectangular cake layers. The length an ...
分类:
其他好文 时间:
2016-08-21 00:53:13
阅读次数:
203
Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40424 Accepted: 17556 Description Flip game is played on a rectangular 4x4 field ...
分类:
其他好文 时间:
2016-08-20 17:58:12
阅读次数:
160
Given an array of integers, find a contiguous subarray which has the largest sum. Notice The subarray should contain at least one number. Example Give ...
分类:
其他好文 时间:
2016-08-20 01:30:52
阅读次数:
115