Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.解法:自底向上 时间复杂度O(n), 空间复杂度O(logN) 1 clas...
分类:
其他好文 时间:
2015-02-26 19:58:04
阅读次数:
166
CSS书写规范及顺序CSS书写顺序1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, c...
分类:
Web程序 时间:
2015-02-26 18:34:18
阅读次数:
177
以下代码是定义了一个CSS class:.test{ width: 14px; height: 14px; display: inline-block; background: url(img/ico.png?v=20120214) -40px -0px no-repea...
分类:
Web程序 时间:
2015-02-26 14:49:55
阅读次数:
122
CSS代码:th{ height: 30px; line-height: 20px; background: #0093D9; color: #fff;} td{ padding: 6px 10px; border-bottom: 1px solid #95bce2; text-ali...
分类:
Web程序 时间:
2015-02-26 14:42:57
阅读次数:
153
一个原因是布局文件中,没有给列表显示的位置。
例如:下面的布局
android:id="@+id/list_find"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:cacheColorHint="@and...
分类:
移动开发 时间:
2015-02-26 11:45:36
阅读次数:
136
showdiv
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: gray;
z-index:1001;
-moz-op...
分类:
其他好文 时间:
2015-02-26 11:43:07
阅读次数:
165
New Document
*{margin:0px;padding:0px;}
body{background:url("imges/bg2.jpg")}
.Menu{
width:200px;height:252px;background:#CDFEC0;
position:absolute;left:500px;top:100px;
...
分类:
Web程序 时间:
2015-02-26 10:07:57
阅读次数:
218
New Document
*{margin:0px;padding:0px;}
#wap{width:1180px;height:360px;
border:5px solid #ddd;margin:30px auto;
overflow:hidden;
}
#wap ul {width:11090px;height:360px;border:2p...
分类:
Web程序 时间:
2015-02-26 10:06:02
阅读次数:
179
New Document
*{margin:0px;padding:0px;}
body{background:url("images/oo.jpg")no-repeat fixed;background-size:cover;}
#huanfu{margin:200px auto;width:548px;height:299px; background:#A...
分类:
Web程序 时间:
2015-02-26 10:05:37
阅读次数:
260
MyHtml.html
-->
*{margin:0px;padding:0px}
#header{width:1300px;height:37px;border:1px solid #F00;margin:0px auto;
box-shadow:3px 2px 15px #000000;border-radius:3px;overflow...
分类:
Web程序 时间:
2015-02-26 10:05:27
阅读次数:
192