码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
Difference between _, __ and __xx__ in Python
When learning Python many people don't really understand why so much underlines in the beginning of the methods, sometimes even in the end like__this_...
分类:编程语言   时间:2015-01-02 19:53:40    阅读次数:278
《大话设计模式》ruby版代码:代理模式
需求:小明让小李替他追小丽(送洋娃娃,送花,送巧克力)没有代理的代码:# -*- encoding: utf-8 -*-#追求者类class Pursuit attr_accessor :mm def initialize(mm) @mm = mm end ...
分类:其他好文   时间:2015-01-02 19:50:40    阅读次数:242
[LeetCode]19 Remove Nth Node From End of List
https://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/http://fisherlei.blogspot.com/2012/12/leetcode-remove-nth-node-from-end-of.html/** *Definitionforsingly-linkedlist. *publicclassListNode{ *intval; *ListNodenext; *ListNode(intx){ *val=x; *nex..
分类:其他好文   时间:2015-01-02 16:12:53    阅读次数:132
CCNA 综合实验
R1:HQ#shrunBuildingconfiguration...Currentconfiguration:2433bytes!version12.4servicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryption!hostnameHQ!boot-start-markerboot-end-marker!enablesecret5$1$Y6K/$lir0fGeg6iG58JyQ7A0..
分类:其他好文   时间:2015-01-02 16:09:46    阅读次数:339
【Leetcode】Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the...
分类:其他好文   时间:2015-01-02 09:47:12    阅读次数:112
End 2014, Start 2015.
跨年晚上,看了好几篇小伙伴的总结,其中有心酸有欢喜,联想到自己,也简单记录下。 今天,起床比往常格外早,2015年1月1日,我给了自己一个承诺,我应该借此机会以全新的方式开始一年,包括生活上,工作和思想,打算真正逆袭。 回望2014,过往不堪,不总结也罢,自己烂在心里吧。 2015年,给自...
分类:其他好文   时间:2015-01-02 01:16:38    阅读次数:243
(中等) POJ 2991 Crane , 几何+线段树。
Description ACM has bought a new crane (crane -- je?áb) . The crane consists of n segments of various lengths, connected by flexible joints. The end ....
分类:其他好文   时间:2015-01-01 22:26:01    阅读次数:348
[Lua]实现switch的一种方案
Lua实现switch的一种折中方案 if ... elseif ... end 形式 local ET_CASE_ONE = 1 local ET_CASE_TWO = 2 local function do_case_one( ... ) print("do_case_one") end local function do_case_two( ... ) print("do...
分类:其他好文   时间:2015-01-01 13:40:24    阅读次数:136
数据结构基础(2) --顺序查找 & 二分查找
顺序查找适用范围: 没有进行排序的数据序列缺点: 速度非常慢, 效率为O(N)//实现 template Type *sequenceSearch(Type *begin, Type *end, const Type &searchValue) throw(std::range_error) { if ((begin == end) || (begin == NULL) || (end ...
分类:其他好文   时间:2015-01-01 11:16:26    阅读次数:188
Tomcat全攻略
内容:一:简单介绍二:安装及配置三:应用四:综述參考资料关于作者 相关内容: TCP/IP 介绍 TCP/IP 介绍 !== End...
分类:其他好文   时间:2015-01-01 11:12:33    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!