Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
                            
                            
                                分类:
其他   时间:
2014-12-19 00:20:00   
                                收藏:
0  评论:
0  赞:
0  阅读:
395
                             
                         
                    
                        
                            
                            
                                同matlab一样,matplot也可画散列图scatter。 1 import numpy as np 2 import matplotlib.pyplot as plt 3 #fig = plt.figure() 4 #ax = fig.add_subplot(111) 5 a1 = np.ar...
                            
                            
                                分类:
编程语言   时间:
2014-12-19 00:19:50   
                                收藏:
0  评论:
0  赞:
0  阅读:
453
                             
                         
                    
                        
                            
                            
                                Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e...
                            
                            
                                分类:
其他   时间:
2014-12-19 00:19:40   
                                收藏:
0  评论:
0  赞:
0  阅读:
362
                             
                         
                    
                        
                            
                            
                                Linux操作系统定时任务系统 Cron 入门先写笔记:crontab -u //设定某个用户的cron服务,一般root用户在执行这个命令的时候需要此参数 crontab -l //列出某个用户cron服务的详细内容 crontab -r //删除没个用户的cron服务 crontab -e...
                            
                            
                                分类:
系统服务   时间:
2014-12-19 00:19:30   
                                收藏:
0  评论:
0  赞:
0  阅读:
697
                             
                         
                    
                        
                            
                            
                                一,安装java环境添加java环境变量vi /etc/profile# add by tankexport JAVA_HOME=/data/soft/jdk/jdk1.7.0_71export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=.:$JAVA_HOME...
                            
                            
                                分类:
其他   时间:
2014-12-19 00:19:21   
                                收藏:
0  评论:
0  赞:
0  阅读:
414