这里写了我的KMP自我研究的结果,重点在于KMP算法的思考路径,而不在于算法本身...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:09:02   
                                阅读次数:
188
                             
                         
                    
                        
                            
                            
                                Spark - A tiny Sinatra inspired framework for creating web applications in Java 8 with minimal effor...
                            
                            
                                分类:
移动开发   时间:
2014-11-22 07:06:23   
                                阅读次数:
241
                             
                         
                    
                        
                            
                            
                                The substring() Method in JDK 6 and JDK 7...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:05:40   
                                阅读次数:
274
                             
                         
                    
                        
                            
                            
                                本文要点:
MSSCRIPT.OCX组件只有x86版本,所以要在x64系统下运行,请使用云盘中的x86版本WScript安装程序。将以下示例代码存为js文件,将其拖动到x86版本的WScript.exe或CScript.exe程序上即可以运行。示例 Microsoft Script Control 1.0 的Error和Timeout两个事件的使用。示例 Microsoft Script...
                            
                            
                         
                    
                        
                            
                            
                                一、前言 Velocity作为历史悠久的模板引擎不单单可以替代JSP作为Java Web的服务端网页模板引擎,而且可以作为普通文本的模板引擎来增强服务端程序文本处理能力。而且Velocity被移植到不同的平台上,如.Net的NVelocity和...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:05:58   
                                阅读次数:
232
                             
                         
                    
                        
                            
                            
                                python语言最常见的括号有三种,分别是:小括号( )、中括号[ ]和大括号也叫做花括号{ }。其作用也各不相同,分别用来代表不同的python基本内置数据类型。python中的小括号( ):代表tuple元组数据类型,元组是一种不可变序列。1 >>> tup = (1,2,3)2 3 >>> t...
                            
                            
                                分类:
编程语言   时间:
2014-11-22 07:04:47   
                                阅读次数:
664
                             
                         
                    
                        
                            
                            
                                都知道python是对格式要求很严格的,写了一些python但是也没发现他严格在哪里,今天遇到了IndentationError: unexpected indent错误我才知道他是多么的严格。 以后遇到了IndentationError: unexpected indent你就要知道python编...
                            
                            
                                分类:
编程语言   时间:
2014-11-22 07:05:33   
                                阅读次数:
282
                             
                         
                    
                        
                            
                            
                                /** * Created by Answer1215 on 11/22/2014. */function AppCtrl($q, $interval) { var vm = this; vm.cancel = cancel; var timer = $interval(funct...
                            
                            
                                分类:
Web程序   时间:
2014-11-22 07:04:33   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:04:11   
                                阅读次数:
193
                             
                         
                    
                        
                            
                            
                                Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Have you met this question in a real interview?Analy...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:03:11   
                                阅读次数:
192
                             
                         
                    
                        
                            
                            
                                Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.If the number of nodes is not a multiple of k then le...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:04:50   
                                阅读次数:
136
                             
                         
                    
                        
                            
                            
                                可以在需要测试的类上右击新建 JUnit测试用例,在原名称基础上添加Test, (下图原类名称为TeacherTest)选择方法存根调用顺序setUpBeforeClass() //类初始化前调用tearDownAfterClass() //类初始化后调用setUp() //方法在测试方法前调用.....
                            
                            
                                分类:
系统相关   时间:
2014-11-22 07:03:11   
                                阅读次数:
190
                             
                         
                    
                        
                            
                            
                                以Blog举例载入项目入口文件 D:\wamp\www\Examples\Blog\index.php 定义常量 APP_NAME,Blog APP_PATH,D:\wamp\www\Examples\Blog\ (APP_PATH为项目核心框架结构文件(lib)所在目录)载入ThinkPHP...
                            
                            
                                分类:
Web程序   时间:
2014-11-22 07:02:29   
                                阅读次数:
138
                             
                         
                    
                        
                            
                            
                                本人一块磁盘第7分区装linux,第一分区先装xp,后重装为windows8.1后,发现grub引导没了,直接进了windows,解决办法如下:1、LiveCD进入系统,打开shell2、输入sh#fdisk -l进入磁盘列表。记下来自己Linux和Windows都安装在哪。3、输入sh#grub,...
                            
                            
                         
                    
                        
                            
                            
                                Follow up for "Find Minimum in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Suppose a s...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:03:46   
                                阅读次数:
206
                             
                         
                    
                        
                            
                            
                                Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).Find the minimum element.Yo...
                            
                            
                                分类:
其他好文   时间:
2014-11-22 07:02:08   
                                阅读次数:
190