码迷,mamicode.com
首页 >  
搜索关键字:reverse    ( 5099个结果
[LeetCode]92 Reverse Linked List II
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
LeetCode-Reverse Words in a String
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
LeetCode No.2 Add Two Numbers
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
leetcode--Add Two Numbers
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
[LeetCode]Evaluate Reverse Polish Notation
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
OJ练习1——T168
【LeetCode】Excel sheet column title输入非负整数n,输出以下格式:1 -> A2 -> B......26 -> Z27 -> AA28 -> AB[分析]实质是将十进制转换为26进制。应该想到用string的+运算,可以连接字符。利用函数reverse(result...
分类:其他好文   时间:2015-01-03 17:12:53    阅读次数:91
【leetcode】Reverse Linked List II
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
【大型网站技术实践】初级篇:借助Nginx搭建反向代理服务器
转载自:周旭龙 http://www.cnblogs.com/edisonchou/p/4126742.html一、反向代理:Web服务器的“经纪人”1.1 反向代理初印象 反向代理(Reverse Proxy)方式是指以代理服务器来接受internet上的连接请求,然后将请求转发给内部网络上的.....
分类:Web程序   时间:2015-01-03 13:04:43    阅读次数:348
[LeetCode]1 Reverse Integer
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
[LeetCode]25 Reverse Nodes in k-Group
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!