做完这道题,只能说基本功很重要,数组中套数组就不会用了,过几天吧1做了,看自己到底等没。https://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/import java.util.*;/** * Definition ...
分类:
编程语言 时间:
2014-07-01 13:30:53
阅读次数:
300
秒杀/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = ...
分类:
编程语言 时间:
2014-07-01 13:16:49
阅读次数:
174
https://oj.leetcode.com/problems/path-sum//** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNod...
分类:
编程语言 时间:
2014-07-01 13:09:20
阅读次数:
198
http://download.csdn.net/detail/gflytu/4110817#commentkgui@linuxamd:~/Downloads/redbook$ gcc -lglut -lGL -lGLU aaindex.caaindex.c:(.text+0x2f7): undef...
分类:
数据库 时间:
2014-07-01 12:53:51
阅读次数:
337
题目:Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,...
分类:
其他好文 时间:
2014-07-01 12:44:09
阅读次数:
199
Gray Code:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the ...
分类:
其他好文 时间:
2014-07-01 12:42:16
阅读次数:
192
题目:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For ...
分类:
其他好文 时间:
2014-07-01 12:26:07
阅读次数:
215
https://oj.leetcode.com/problems/validate-binary-search-tree/1.中序遍历是否有序/** * Definition for binary tree * public class TreeNode { * int val; * ...
分类:
编程语言 时间:
2014-07-01 12:20:06
阅读次数:
173
题目
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: Rec...
分类:
其他好文 时间:
2014-07-01 07:06:11
阅读次数:
214
兼具脚本语言,入门更加简单的语言
更加偏向人性化(英文)的编程语言
从2010年开始由克里斯负责开发,前期以GCC编译器为主,后期采用LLVM 6.0
OC诞生于1983年
Swift特点:兼容C Objective-C语言,安全高效并且交互性好,学习曲线平缓
可以不显示指定类型而编译器可以通过赋值来判断变量的类型.但是不支持隐式类型转换,即两种不同类型的变量之间不可以进行运算/赋值...
分类:
其他好文 时间:
2014-07-01 06:42:49
阅读次数:
235