https://oj.leetcode.com/problems/reverse-linked-list-ii/http://blog.csdn.net/linhuanmars/article/details/24613781/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
*}
*/
publicclassSolu..
分类:
其他好文 时间:
2015-01-05 16:50:17
阅读次数:
125
Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.C...
分类:
其他好文 时间:
2015-01-05 08:15:08
阅读次数:
124
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-01-05 00:31:33
阅读次数:
188
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-01-04 16:42:46
阅读次数:
150
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2", "1", ...
分类:
其他好文 时间:
2015-01-04 10:10:36
阅读次数:
167
【LeetCode】Excel sheet column title输入非负整数n,输出以下格式:1 -> A2 -> B......26 -> Z27 -> AA28 -> AB[分析]实质是将十进制转换为26进制。应该想到用string的+运算,可以连接字符。利用函数reverse(result...
分类:
其他好文 时间:
2015-01-03 17:12:53
阅读次数:
91
Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return...
分类:
其他好文 时间:
2015-01-03 13:06:04
阅读次数:
164
转载自:周旭龙 http://www.cnblogs.com/edisonchou/p/4126742.html一、反向代理:Web服务器的“经纪人”1.1 反向代理初印象 反向代理(Reverse Proxy)方式是指以代理服务器来接受internet上的连接请求,然后将请求转发给内部网络上的.....
分类:
Web程序 时间:
2015-01-03 13:04:43
阅读次数:
348
http://7371901.blog.51cto.com/user_index.php?action=addblog_newhttp://fisherlei.blogspot.com/2012/12/leetcode-reverse-integer.htmlpublicclassSolution{
publicintreverse(intx){
//SolutionA
//returnreverse_Mod(x);
//SolutionB
returnreverse_String(x);
}
////..
分类:
其他好文 时间:
2015-01-02 16:14:15
阅读次数:
223
https://oj.leetcode.com/problems/reverse-nodes-in-k-group/http://fisherlei.blogspot.com/2012/12/leetcode-reverse-nodes-in-k-group.html/**
*Definitionforsingly-linkedlist.
*publicclassListNode{
*intval;
*ListNodenext;
*ListNode(intx){
*val=x;
*next=null;
*}
..
分类:
其他好文 时间:
2015-01-02 16:12:00
阅读次数:
238