题目
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between).
For example:
G...
分类:
其他好文 时间:
2014-06-08 17:29:07
阅读次数:
315
题目
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ \...
分类:
其他好文 时间:
2014-06-08 16:38:02
阅读次数:
194
1.需要完成两个前置条件后才可以使用 微软企业库5.0 调用 MySql 存储过程
微软企业库5.0 支持 MySql
MySql 分页存储过程
2.需要添加一个继承 IParameterMapper 接口的类分配查询参数
using System.Data;
using System.Data.Common;
using Microsoft.Practices.E...
分类:
数据库 时间:
2014-06-08 10:04:46
阅读次数:
462
题目
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20...
分类:
其他好文 时间:
2014-06-08 09:23:34
阅读次数:
230
安装Python依赖
pip3.4 install nose
pip3.4 install selenium
pip3.4 install Appium-Python-Client
运行测试用例android_contacts.py
import os
import unittest
from appium import webdriver
from time import slee...
分类:
移动开发 时间:
2014-06-08 05:55:17
阅读次数:
482
有时候数据库会出现ORA-00704错误,而导致ORA-00704错误的根本原因是访问OBJ$的时候,ORACLE需要回滚段中的数据,而访问回滚段的时候需要的undo数据已经被覆盖,此时我们可以通过bbed工具手工提交事务,从而解决这个问题。
使用bbed提交事务测试过程如下:
JP@ORCL>create table JP_BBED_TEST as select * from hr.empl...
分类:
数据库 时间:
2014-06-08 05:47:13
阅读次数:
289
three collection tool for greenplum:pstack、strace、gcore.
[gpadmin@gtlions5913 ~]$ ps -ef | grep postgres|grep data...
分类:
其他好文 时间:
2014-06-08 05:30:55
阅读次数:
287
Rotating Sentences
In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to b...
分类:
其他好文 时间:
2014-06-08 04:51:34
阅读次数:
236
本文主要总结个人科研中用到的matlab命令,并不断跟新中!
%---------------------读取存放数据(矩阵)的txt文件--------------------------------%
data_source=dlmread('文件名',';');%读取以;为分隔符的数据,分割符为空格时省略。
data_source=textread('文件名', '' ...
分类:
其他好文 时间:
2014-06-08 04:09:52
阅读次数:
271
题目...For example,Given input array A = [1,1,2],Your function should return length = 2, and A is now [1,2].
解题思路,
移除数组中的重复元素,并返回新数组的长度。
这个题目应该算是简单的题目。使用两个变量就可以。具体的看代码
代码实现......
分类:
其他好文 时间:
2014-06-08 03:54:22
阅读次数:
279