Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet ...
分类:
其他好文 时间:
2017-08-26 18:27:53
阅读次数:
171
MybatisJdbcTypeOracleMySql JdbcType ARRAY JdbcType BIGINT BIGINT JdbcType BINARY JdbcType BIT BIT JdbcType BLOB BLOB BLOB JdbcType BOOLEAN JdbcType CH ...
分类:
数据库 时间:
2017-08-26 16:59:40
阅读次数:
251
为了查找方便,从一路前行搬过来 一.arm-linux-objdump常用来显示二进制文件信息,常用来查看反汇编代码二.常用选项:1.-b bfdname 指定目标码格式2.—disassemble或者-d 反汇编可执行段3.—dissassemble-all或者-D 反汇编所有段4.-EB,-EL ...
分类:
系统相关 时间:
2017-08-26 16:04:52
阅读次数:
188
输入一棵二叉树,求该树的深度。从根结点到叶结点依次经过的结点(含根、叶结点)形成树的一条路径,最长路径的长度为树的深度。 ...
分类:
其他好文 时间:
2017-08-26 13:39:11
阅读次数:
114
Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their sum is equal to the given target. E ...
分类:
其他好文 时间:
2017-08-26 12:38:35
阅读次数:
148
Period of an Infinite Binary Expansion POJ - 3358 题意:给一个分数,让求其二进制形式的最小循环节ans2和循环节开始的位置ans1。 以下内容转自http://blog.csdn.net/u013508213/article/details/4249 ...
分类:
其他好文 时间:
2017-08-26 11:27:02
阅读次数:
196
1-- pickle, transfer the target document to binary to save. 2, pickle_file, write 3. pickle_file, read To write a script to separet the text by ":" an ...
分类:
编程语言 时间:
2017-08-26 10:21:31
阅读次数:
207
105. Construct Binary Tree from Preorder and Inorder Traversal Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may ...
分类:
其他好文 时间:
2017-08-26 04:43:07
阅读次数:
152
1 前序遍历三种方式 非递归 1 public ArrayList<Integer> preorderTraversal(TreeNode root) { // write your code here ArrayList<Integer> res = new ArrayList<Integer>( ...
分类:
其他好文 时间:
2017-08-25 15:52:00
阅读次数:
201
Q Numbers FormatAn XQN format number is an 1+X+N bit twos complement binary number; a sign bitfollowed by X integer bits followed by an N bit mantissa ...
分类:
其他好文 时间:
2017-08-25 12:15:15
阅读次数:
205