https://oj.leetcode.com/problems/trapping-rain-water/模拟题,计算出在凹凸处存水量。对于一个位置 i ,分别计算出它左边的最大值 left (从左扫描一遍), 右边的最大值 right(从右扫描一遍) 。找left right中的最小值,如果大于 ...
分类:
移动开发 时间:
2014-06-28 16:32:30
阅读次数:
222
DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new proble...
分类:
其他好文 时间:
2014-06-24 09:58:37
阅读次数:
236
The 3n + 1 problem
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 50648
Accepted: 16059
Description
Problems in Computer Science are often classified as...
分类:
其他好文 时间:
2014-06-21 21:35:52
阅读次数:
276
搬运自http://wurang.me/2014/06/17/uac-problems.html【问题产生】问题最初是在administrator权限下,visual studio 打开网络磁盘下的文件报错。经过几次调试,最终发现是问题是在管理员权限下,vs无法访问网络磁盘。Console.Writ...
分类:
其他好文 时间:
2014-06-19 07:31:35
阅读次数:
344
Description
The Broken Pedometer
The Problem
A marathon runner uses a pedometer with which he is having problems. In the pedometer the symbols are represented by seven s...
分类:
其他好文 时间:
2014-06-18 12:31:09
阅读次数:
203
原题地址:https://oj.leetcode.com/problems/minimum-window-substring/题意:Given a string S and a string T, find the minimum window in S which will contain all...
分类:
编程语言 时间:
2014-06-15 22:10:42
阅读次数:
1109
原题地址:https://oj.leetcode.com/problems/merge-two-sorted-lists/题意:Merge two sorted linked lists and return it as a new list. The new list should be made...
分类:
编程语言 时间:
2014-06-15 21:58:31
阅读次数:
238
原题地址:https://oj.leetcode.com/problems/reverse-nodes-in-k-group/题意:Given a linked list, reverse the nodes of a linked listkat a time and return its mod...
分类:
编程语言 时间:
2014-06-15 21:24:43
阅读次数:
293
原题地址:https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/题意:Given a string, find the length of the longest substring witho...
分类:
编程语言 时间:
2014-06-15 19:51:00
阅读次数:
254
原题地址:https://oj.leetcode.com/problems/add-two-numbers/题意:You are given two linked lists representing two non-negative numbers. The digits are stored i...
分类:
编程语言 时间:
2014-06-15 00:40:44
阅读次数:
328