转载自:周旭龙 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
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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2015-01-01 18:35:47
阅读次数:
184
几个套路第一 fast slow 找中点,找位数。第二 reverse{ ListNode last = prev.next; ListNode curr = last.next; while(curr!=null) { last.next = curr.next; ...
分类:
其他好文 时间:
2015-01-01 07:53:20
阅读次数:
138
题目:(LinkedList)Reverse 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,return1->4->3...
分类:
其他好文 时间:
2015-01-01 01:29:22
阅读次数:
178
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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-12-31 20:11:16
阅读次数:
231
Print in terminal with colors using Python?
1.class colors:
reset='\033[0m'
bold='\033[01m'
disable='\033[02m'
underline='\033[04m'
reverse='\033[07m'
strikethrough='\0...
分类:
编程语言 时间:
2014-12-31 13:11:00
阅读次数:
261
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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-12-31 11:23:10
阅读次数:
154
原题地址: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-12-31 08:41:24
阅读次数:
326