属性
说明
Nodes
获取分配给树视图控件的树节点集合
PathSeparator
获取或设置树节点路径所使用的分隔符串
SelesctedNode
获取或设置当树节点选定时所使用的图像列表索引值
ShowNodeToolTips
获取或设置一个值,用以指示树图中的树节点是否经过排序
VisibleCount
获取树视图控件黄总完...
分类:
其他好文 时间:
2014-07-22 23:04:34
阅读次数:
324
这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a
binary tree, find its minimum depth. 3 * the minimum depth is the number of
nodes along th...
分类:
其他好文 时间:
2014-05-10 08:47:32
阅读次数:
271
Given a linked list, reverse the nodes of a
linked listkat a time and return its modified list.If the number of nodes is not
a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-05-09 12:00:21
阅读次数:
309
树视图TreeView 属性及方法
属性
说明
Nodes
获取分配给树视图控件的树节点集合
PathSeparator
获取或设置树节点路径所使用的分隔符串
SelesctedNode
获取或设置当树节点选定时所使用的图像列表索引值
ShowNodeToolTips
获取或设置一个值,用以指示树图中的树节点是...
分类:
其他好文 时间:
2014-05-07 04:28:18
阅读次数:
554
题目
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: Recursiv...
分类:
其他好文 时间:
2014-05-07 03:30:19
阅读次数:
254
Merge Two Sorted ListsMerge two sorted linked
lists and return it as a new list. The new list should be made by splicing
together the nodes of the fir...
分类:
其他好文 时间:
2014-05-06 23:54:10
阅读次数:
469
Link:http://oj.leetcode.com/problems/reverse-nodes-in-k-group/Given a linked
list, reverse the nodes of a linked listkat a time and return its modifie...
分类:
其他好文 时间:
2014-05-05 22:46:42
阅读次数:
456
Link:http://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list,
swap every two adjacent nodes and return its head.For example,Given1->2-...
分类:
其他好文 时间:
2014-05-05 22:45:37
阅读次数:
331
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-05-01 22:08:19
阅读次数:
366
You are given two linked lists representing two
non-negative numbers. The digits are stored in reverse order and each of their
nodes contain a single ...
分类:
其他好文 时间:
2014-05-01 20:18:54
阅读次数:
425