码迷,mamicode.com
首页 >  
搜索关键字:level order    ( 23817个结果
Effective Java 71 Use lazy initialization judiciously
You should initialize most fields normally, not lazily. If you must initialize a field lazily in order to achieve your performance goals, or to break ...
分类:编程语言   时间:2014-05-09 18:32:56    阅读次数:497
What is a heap?--reference
A heap is a partially sorted binary tree. Although a heap is not completely in order, it conforms to a sorting principle: every node has a value less ...
分类:其他好文   时间:2014-05-09 17:34:18    阅读次数:339
Oracle sysdate常用
SELECT * FROM (SELECT * FROM calenderDetail A ORDER BY a. calender desc ) WHERE rownum <3 ;//计算时间大于当前时间的最近2条记录取当前小时,以及相隔一小时v_begin_date:=to_date(to_ch...
分类:数据库   时间:2014-05-09 17:03:41    阅读次数:620
关于android SDK安装Failed to fetch URL 一点思考
最近SDK出问题了,然后在google下载了一个android-sdk-windows.rar,然后点击SDK Manager,结果一直不能刷新API Level,然后就开始在网上找了好多资料,解决这个问题,修改 HOSTS, HTTP 和 HTTPS 都不能解决,这给我带来了很大的困惑! 加载不出...
分类:移动开发   时间:2014-05-05 11:58:55    阅读次数:534
mysql 如何选择随机行
最简单的方式是使用 mysql 的 ORDER BY RAND() 子句。SELECT col1 FROM tbl ORDER BY RAND() LIMIT 10;它能很好的运行在小表中。然而,对于大表,生成随机列表行时将产生一个严重的性能问题,MYSQL 需要对每一行进行随机,然后对它们排序。即...
分类:数据库   时间:2014-05-05 11:04:53    阅读次数:483
LeetCode OJ - Binary Tree Level Order Traversal 1 && 2
BFS以及它的扩展,我发现栈是个很好用的数据结构,特别是对于顺序需要颠倒的时候!!!这里有个重要的信息:可以用null来标识一个level的结束!!!下面是AC代码: 1 /** 2 * Given a binary tree, return the bottom-up level ord...
分类:其他好文   时间:2014-05-05 09:46:06    阅读次数:402
MySQL数据库事务隔离级别(Transaction Isolation Level)
今天在学习JDBC的时候看到了关于MySql的事务的隔离级别的问题,感觉内容挺高级的,所以记录一篇文章,以备后面使用。 数据库隔离级别有四种,应用《高性能mysql》一书中的说明:   然后说说修改事务隔离级别的方法: 1.全局修改,修改mysql.ini配置文件,在最后加上 1 #可选参数有:READ-UNCOMMITTED, READ-CO...
分类:数据库   时间:2014-05-04 18:56:12    阅读次数:450
travel the binary tree by level 4 ( from down to top and from left to right every level )
travel the binary tree by level 4 ( from down to top and from left to right every level ) 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:tr...
分类:其他好文   时间:2014-05-04 18:22:16    阅读次数:381
travel the binary tree by level 2 ( from top to down )
travel the binary tree by level 2 ( from top to down ) 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:travel the binary tree by level 2 (...
分类:其他好文   时间:2014-05-04 09:27:56    阅读次数:334
travel the binary tree by level( from top to down)
travel the binary tree by level( from top to down) 个人信息:就读于燕大本科软件工程专业 目前大三; 本人博客:google搜索“cqs_2012”即可; 个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献; 博客内容:travel the binary tree by level( from top t...
分类:其他好文   时间:2014-05-04 09:17:12    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!