摘要:
Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the two 阅读全文
posted @ 2018-02-08 15:50
jxr041100
阅读(98)
评论(0)
推荐(0)
摘要:
Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than 阅读全文
posted @ 2018-02-08 15:17
jxr041100
阅读(120)
评论(0)
推荐(0)
摘要:
On an N x N grid, each square grid[i][j] represents the elevation at that point (i,j). Now rain starts to fall. At time t, the depth of the water ever 阅读全文
posted @ 2018-02-08 14:34
jxr041100
阅读(212)
评论(0)
推荐(0)
摘要:
class Solution { public: double minmaxGasDist(vector& stations, int K) { double left = 0.0; double right = 1e8; while (right - left > 1e-6) { const auto mid = ... 阅读全文
posted @ 2018-02-08 14:32
jxr041100
阅读(142)
评论(0)
推荐(0)
摘要:
Given strings S and T, find the minimum (contiguous) substring W of S, so that T is a subsequence of W. If there is no such window in S that covers al 阅读全文
posted @ 2018-02-08 08:38
jxr041100
阅读(321)
评论(0)
推荐(0)

浙公网安备 33010602011771号