Remove K Digits 题目: 给定一个Num字符串来表示一个非负的整数,移除其中k位字符,使得新生成的数字最小。 思路:将高位数字提前删除 对于leading zero需要小心处理 Largest Rectangle in Histogram Stack 里面存什么? heights中的元 ...
分类:
其他好文 时间:
2018-05-27 13:44:54
阅读次数:
122
Description Given an array of integers, find a contiguous subarray which has the largest sum. Given an array of integers, find a contiguous subarray w ...
分类:
其他好文 时间:
2018-05-22 22:05:05
阅读次数:
136
标签: 可持久化线段树 题目描述 The h index of an author is the largest h where he has at least h papers with citations not less than h . Bobo has published n papers ...
分类:
其他好文 时间:
2018-05-19 00:42:41
阅读次数:
358
A.Easy h-index 题目描述 The h-index of an author is the largest h where he has at least h papers with citations not less than h.Bobo has published many pa ...
分类:
其他好文 时间:
2018-05-19 00:13:35
阅读次数:
552
[抄题]: There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different wid ...
分类:
其他好文 时间:
2018-05-16 17:26:37
阅读次数:
121
题目描述: In a given integer array nums, there is always exactly one largest element. Find whether the largest element in the array is at least twice as m ...
分类:
其他好文 时间:
2018-05-15 01:45:02
阅读次数:
135
题目:和最大的子序列 难度:Medium 题目内容: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and re ...
分类:
编程语言 时间:
2018-05-13 00:37:58
阅读次数:
311
描述 FatMouse is lucky enough for it found a rectangular box in a storehouse which contains his favorite food-JavaBeans.The box is splited into r*c cell ...
分类:
编程语言 时间:
2018-05-12 23:55:00
阅读次数:
378
Largest Submatrix of All 1’s Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 7700 Accepted: 2779 Case Time Limit: 2000MS Description Given ...
分类:
其他好文 时间:
2018-05-10 21:50:50
阅读次数:
164
Description Here, we want to solve path planning for a mobile robot cleaning a rectangular room floor with furniture. Consider the room floor paved wi ...
分类:
其他好文 时间:
2018-05-03 22:12:29
阅读次数:
194