问题描述
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list....
分类:
其他好文 时间:
2014-08-31 23:05:42
阅读次数:
390
LeetCode: Reverse Linked ListReverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, m = 2 ...
分类:
其他好文 时间:
2014-08-31 22:45:51
阅读次数:
215
1,Project are organizational units in the cloud,and are also known as tenants or accounts.Each user is a member of one or more projects.Within a proje...
分类:
其他好文 时间:
2014-08-31 21:20:43
阅读次数:
249
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet"...
分类:
其他好文 时间:
2014-08-31 20:07:12
阅读次数:
233
韩寒《一个》里面的文章写得怎么样.ONE一个怎么样
分类:
其他好文 时间:
2014-08-31 18:37:51
阅读次数:
211
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:
其他好文 时间:
2014-08-31 15:49:11
阅读次数:
180
异常介绍SetOnceA convenient class which offers asemi-immutable objectwrapper implementation which allows one to set the value of an object exactly once, a...
分类:
其他好文 时间:
2014-08-31 14:27:51
阅读次数:
172
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:
其他好文 时间:
2014-08-31 14:27:21
阅读次数:
146
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:
其他好文 时间:
2014-08-31 13:05:01
阅读次数:
176
题意:
与 http://blog.csdn.net/houserabbit/article/details/38958891 类似 只不是将原本的无向图变为混合图
思路:
在上一篇我也写过了 http://blog.csdn.net/houserabbit/article/details/38958891 首先是找桥 那么就需要先把混合图变成无向图 因为题目说答案存在 因此桥必然...
分类:
其他好文 时间:
2014-08-31 11:54:21
阅读次数:
221