Mergeksorted linked lists and return it as one 
sorted list. Analyze and describe its complexity.想法很简单,就是两两合并。在Merge Two Sorted 
Lists这道题已经实现了两两合并的代码了,就...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 00:22:01   
                                阅读次数:
337
                             
                    
                        
                            
                            
                                这3个系列的书我买了不少本,虽然没有都读完,但是还是要做个阶段性的评价for 
dummies:即阿呆系列,外教老师Chris说那是入门的书,知识量少,我觉得自己开辟一个新的学习计划时,这个系列的书是很有帮助的,细分两个子系列all-in-one 
for dummies:这个系列的书厚些,通常是几本书...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 23:16:11   
                                阅读次数:
272
                             
                    
                        
                            
                            
                                1、One To One 单相背景: 古代一个老婆 
只能关联一个老公husband.javapackage com.rhythmk.model;public class husband { public 
Integer getHusbandId() { return husbandId;	}...
                            
                            
                                分类:
系统相关   时间:
2014-05-05 23:06:28   
                                阅读次数:
516
                             
                    
                        
                            
                            
                                Given an unsorted array of integers, find the 
length of the longest consecutive elements sequence.For example,Given [100, 4, 
200, 1, 3, 2],The longest...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 23:01:41   
                                阅读次数:
374
                             
                    
                        
                            
                            
                                Link:http://oj.leetcode.com/problems/reverse-linked-list-ii/Reverse a linked 
list from positionmton. Do it in-place and in one-pass.For example:Given1...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:46:11   
                                阅读次数:
411
                             
                    
                        
                            
                            
                                Problem 
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are 
inspected in this problem:Hash Table. One hash set is the words di...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:44:44   
                                阅读次数:
393
                             
                    
                        
                            
                            
                                1,C++中操作数组
#include 
using namespace std;
 
int length(char []);
void output_frequency(char []); 
int main()
{
 
	char str[]="yan cong min";  
	cout<<"要处理的字符串为:"<<str<<endl;  
	cout<<"字符串长度为:"<<lengt...
                            
                            
                                分类:
编程语言   时间:
2014-05-05 13:29:30   
                                阅读次数:
432
                             
                    
                        
                            
                            
                                函数的属性length、prototype和方法call()、apply()
length指的是该函数所期望传递进来的参数个数。
function fun0(){}             //0
function fun1(num1){}         //1
function fun2(num1,num2){}    //2
//prototype
function MyObje...
                            
                            
                                分类:
移动开发   时间:
2014-05-05 12:55:59   
                                阅读次数:
306
                             
                    
                        
                            
                            
                                Input
t – the number of numbers in list, then t lines follow [t 
Each line contains one integer: N [0 N 
Output
Output given numbers in non decreasing order.
Example
Input:
5
5
3
...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 00:04:09   
                                阅读次数:
376
                             
                    
                        
                            
                            
                                Struts2实现文件上传
配置文件struts.xml
<!--
/*
 * $Id: struts.xml 1364077 2012-07-21 12:57:02Z lukaszlenart $
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor licens...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 15:41:44   
                                阅读次数:
348