最近开始重新学习C/C++,第一步当然就是IDE环境配置,一直Eclipse,buxiang...
分类:
编程语言 时间:
2014-06-22 21:53:24
阅读次数:
297
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum...
分类:
其他好文 时间:
2014-06-22 20:59:24
阅读次数:
227
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursive solut...
分类:
其他好文 时间:
2014-06-22 20:58:01
阅读次数:
157
WAP Binary XML定义好XML片断表述出同步服务器地址、远程数据库名称、登录账号等等内容一、两种访问方法:
目前的kxml支持两种wap格式:WBXML/WML。
而有两种方法将解析WBXML:
1。使用j2me将WBXML转换到XML;
2。使用kxml直接解析WBXML流。下面我在这里讨论一下使用第二种方法实现client代码解...
分类:
移动开发 时间:
2014-06-22 17:37:30
阅读次数:
176
1.基本教程学习
大概三天业余时间看完下面两个教程。
HTML文字教程
CSS文字教程
2.练习
看完教程后,做第一练习时,总结如下:
1)div居中
需要设置属性:margin-left:auto; margin-right:auto;
2) 给图片加链接后,图片有边框,消除边框方法:给图片设置属性 border-width:0px;
3)图片相连时,图片间有距离,消除...
分类:
Web程序 时间:
2014-06-22 17:02:52
阅读次数:
253
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recursive soluti...
分类:
其他好文 时间:
2014-06-22 16:37:51
阅读次数:
168
题目:Unique Binary Search Trees IIGivenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your...
分类:
其他好文 时间:
2014-06-22 13:49:21
阅读次数:
243
Convert Sorted List to Binary Search Tree
Total Accepted: 12283 Total
Submissions: 45910My Submissions
Given a singly linked list where elements are sorted in ascending order, convert it...
分类:
其他好文 时间:
2014-06-21 23:57:00
阅读次数:
351
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.
For example:
Given the below binary tree and sum = 22,
5
/ ...
分类:
其他好文 时间:
2014-06-21 22:44:58
阅读次数:
266
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
求数字字符串的二进制和。同之前的数组代表数字,两个数组相加一样,只不过进位变成了2.可能两个串的长度不一样,故逆转,从左到右加下去,最后再逆转。
publi...
分类:
其他好文 时间:
2014-06-21 20:11:21
阅读次数:
344