题目: Given a string, find the length of the longest 
substring without repeating characters. For example, the longest substring 
without repeating letter...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 21:15:32   
                                阅读次数:
511
                             
                    
                        
                            
                            
                                在mysql中,char和varchar都表示字符串类型.但他们存储和检索数据的方式并不相同.在表结构定义中声明char和varchar类型时,必须指定字符串的长度.也就是该列所能存储多少个字符(不是字节,是字符).例如:char(10)和varchar(10)都能存储10个字符.声明为char的列...
                            
                            
                                分类:
数据库   时间:
2014-04-30 20:31:47   
                                阅读次数:
459
                             
                    
                        
                            
                            
                                1 var decode = function(m) { 2 try { 3 m = 
decodeURIComponent(m); 4 } catch(e) {} 5 var s = m.split("%"); 6 if (s.length 
> 1)...
                            
                            
                                分类:
移动开发   时间:
2014-04-30 20:11:33   
                                阅读次数:
590
                             
                    
                        
                            
                            
                                otp (one-time 
password)http://tools.ietf.org/html/rfc4226相应协议unified push 
serverhttps://github.com/aerogear/aerogear-unifiedpush-server
                            
                            
                                分类:
移动开发   时间:
2014-04-30 18:51:28   
                                阅读次数:
500
                             
                    
                        
                            
                            
                                The gray code is a binary numeral system where 
two successive values differ in only one bit.Given a non-negative 
integernrepresenting the total number...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 00:21:32   
                                阅读次数:
536
                             
                    
                        
                            
                            
                                以下摘自DOOM的博文《内核同步对象 》 
http://blog.csdn.net/lqk1985/article/details/2541867 
“最后一个参数&timeout是一个64位超时值的地址,单位为100纳秒。正数的超时表示一个从1601年1月1日起的绝对时间。调用KeQ...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 00:12:11   
                                阅读次数:
568
                             
                    
                        
                            
                            
                                happens-beforerelation on memory operations 
such as reads and writes of shared variables. The results of a write by one 
thread are guaranteed to be .....
                            
                            
                                分类:
移动开发   时间:
2014-04-29 16:38:32   
                                阅读次数:
511
                             
                    
                        
                            
                            
                                2014-04-29 
02:27题目:找出10亿个数中最小的100万个数,假设内存可以装得下。解法1:内存可以装得下?可以用快速选择算法得到无序的结果。时间复杂度总体是O(n)级别,但是常系数不小。代码: 
1 // 18.6 Find the smallest one million number....
                            
                            
                                分类:
其他好文   时间:
2014-04-29 14:27:13   
                                阅读次数:
665
                             
                    
                        
                            
                            
                                public class Facade {	/** * @param args 外观模式 */	One 
one;	Two two;	Three three; public Facade() { one=new One(); two=new Two(); 
three=new Three()...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 11:15:47   
                                阅读次数:
238
                             
                    
                        
                            
                            
                                1. Z. Skalak, On the regularity of the solutions to 
the Navier-Stokes equations via the gradient of one velocity component, 
Nonlinear Analysis, 104 (2...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 09:27:47   
                                阅读次数:
364