1 /** 2 * Definition for binary tree 3 * public 
class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * 
TreeNo...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:44:13   
                                阅读次数:
328
                             
                         
                    
                        
                            
                            
                                Link:http://oj.leetcode.com/problems/balanced-binary-tree/Given a binary tree, 
determine if it is height-balanced.For this problem, a height-balanced ...
                            
                            
                                分类:
其他好文   时间:
2014-05-05 22:29:55   
                                阅读次数:
382
                             
                         
                    
                        
                            
                            
                                apk file 其实就是zip文件, 可以将其重命名为zip文件,然后用unzip命令解压。unzip example1.apk -d ./example_dir
tree
.
├── AndroidManifest.xml
├── classes.dex
├── META-INF
│   ├── CERT.RSA
│   ├── CERT.SF
│   └── MANIFEST.MF
├── ...
                            
                            
                                分类:
移动开发   时间:
2014-05-05 13:12:59   
                                阅读次数:
469
                             
                         
                    
                        
                            
                            
                                the longest distance of a binary tree
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:the longest distance of a binary tree;
博客时间:2014-4-...
                            
                            
                                分类:
其他好文   时间:
2014-05-04 00:28:23   
                                阅读次数:
446
                             
                         
                    
                        
                            
                            
                                Hash 索引结构的特殊性,其检索效率非常高,索引的检索可以一次定位,不像B-Tree 
索引需要从根节点到枝节点,最后才能访问到页节点这样多次的IO访问,所以 Hash 索引的查询效率要远高于 B-Tree 索引。虽然 Hash 索引效率高,但是 
Hash 索引本身由于其特殊性也带来了很多限制和弊端...
                            
                            
                                分类:
数据库   时间:
2014-05-03 22:34:01   
                                阅读次数:
369
                             
                         
                    
                        
                            
                            
                                ubuntu 下安装source insight...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 17:19:19   
                                阅读次数:
440
                             
                         
                    
                        
                            
                            
                                queue for max elem, pop, push
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:the longest distance of a binary tree;
博客时间:2014-4-15;
编...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 17:13:09   
                                阅读次数:
406
                             
                         
                    
                        
                            
                            
                                阿弥陀佛,好久没写文章,实在是受不了了,特来填坑,最近实习了(ting)解(shuo)到(le)很多工业界常用的算法,诸如GBDT,CRF,topic model的一些算法等,也看了不少东西,有时间可以详细写一下,而至于实现那真的是没时间没心情再做了,等回学校了再说吧。今天我们要说的就是GBDT(Gradient Boosting Decision Tree)...
                            
                            
                                分类:
其他好文   时间:
2014-05-03 16:14:46   
                                阅读次数:
904
                             
                         
                    
                        
                            
                            
                                package com.recursion;
import java.io.File;
public class RecursionFile {
public static void main(String[] args) {
File file  = new File("G:/A");
tree(file, 0);
}
private static vo...
                            
                            
                                分类:
编程语言   时间:
2014-05-03 16:07:04   
                                阅读次数:
265
                             
                         
                    
                        
                            
                            
                                1.挂载光盘镜像2.配置yum文件Vim/etc/yum.repos.d/rhel-source.repo3.安装vsftpdYuminstallvsftpd4.主文件/etc/vsftpd/vsftpd.conf配置5.建立虚拟用户口令库文件login.txt6.生成vsftp的认证文件使用db_load命令生成认证文件,“-f”命令选项设置的值是虚拟用户的口令库文件,即..
                            
                            
                                分类:
系统相关   时间:
2014-05-03 14:55:33   
                                阅读次数:
464