【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
                            
                            
                                分类:
其他好文   时间:
2014-06-05 11:14:26   
                                阅读次数:
255
                             
                    
                        
                            
                            
                                原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints 
on a 2D plane, find the maximum number of points that lie on the same strai...
                            
                            
                                分类:
编程语言   时间:
2014-06-03 08:55:48   
                                阅读次数:
282
                             
                    
                        
                            
                            
                                ProblemYou want to find the latitude and 
longitude of a device.SolutionUse the CLLocationManager class:#import 
"WSYViewController.h"#import @interface...
                            
                            
                                分类:
其他好文   时间:
2014-06-03 07:15:49   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                【题目】Given a set of files, of which the sizes 
will not exceed 10 Gigabytes, find out whether an input string appears or 
not.Your program is judged base...
                            
                            
                                分类:
其他好文   时间:
2014-06-03 07:15:17   
                                阅读次数:
472
                             
                    
                        
                            
                            
                                1、一个文档如下db.posts.find(){ "_id" : 
ObjectId("5388162dfc164ee1f39be37f"), "title" : "Java Example", "content" : 
"This is a example for Java!", ...
                            
                            
                                分类:
数据库   时间:
2014-05-31 21:50:28   
                                阅读次数:
396
                             
                    
                        
                            
                            
                                匈牙利算法。 1 #include 2 #include 3 4 #define MAXNUM 
1005 5 6 char map[MAXNUM][MAXNUM]; 7 char visit[MAXNUM]; 8 int son[MAXNUM]; 9 10 
int find(int x, i...
                            
                            
                                分类:
其他好文   时间:
2014-05-31 16:54:26   
                                阅读次数:
291
                             
                    
                        
                            
                            
                                Given a string, find the length of the longest 
substring without repeating characters. For example, the longest substring 
without repeating letters fo...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 23:46:09   
                                阅读次数:
453
                             
                    
                        
                            
                            
                                转自:Linux 命令集锦linux下查看监听端口对应的进程#lsof 
-i:9000#lsof -Pnl +M -i4如果退格键变成了:"^h"。终端连接unix删除退格键,按住CTL键同时按deleteLinux搜索#find 
/ -name "xxx.conf"查看linux是32位还是64位...
                            
                            
                                分类:
系统相关   时间:
2014-05-30 23:25:09   
                                阅读次数:
563
                             
                    
                        
                            
                            
                                Given a triangle, find the minimum path sum 
from top to bottom. Each step you may move to adjacent numbers on the row 
below.For example, given the fol...
                            
                            
                                分类:
其他好文   时间:
2014-05-30 14:59:37   
                                阅读次数:
241
                             
                    
                        
                            
                            
                                jdk1.4之后版本不需要设置Classpath变量。 
如果在Classpath变量中没有添加当前路径,即 [.](无括号),在命令行中运行java Helloworld会出现错误:Error: Could not 
find or load main class Helloworld这是由于指定了C...
                            
                            
                                分类:
编程语言   时间:
2014-05-30 14:54:11   
                                阅读次数:
331