【题目】
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
【题意】
判断了两个二叉树是否相等
【思路】
递归...
分类:
其他好文 时间:
2014-06-02 11:03:03
阅读次数:
205
【题目】
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the following is not:
1
/ 2 2
\ 3 3
No...
分类:
其他好文 时间:
2014-06-02 10:56:14
阅读次数:
237
// OpenGL.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
#include
#include
using namespace std;
void init(void)
{
glClearColor(1.0,1.0,1.0,1.0);
glClear(GL_COLOR_BUFFER_BIT);
glShadeMod...
分类:
其他好文 时间:
2014-06-02 11:02:18
阅读次数:
282
问题描述
求 1+2+ … +n ,要求不能使用乘除法、 for 、 while 、 if 、 else
、 switch 、 case 等关键字以及条件判断语句。
实际意义不大,题目涉及的知识还是不错的!
方法1
用构造函数求解。
#include
using namespace std;
class Plus
{
public:
Plu...
分类:
其他好文 时间:
2014-06-02 10:29:11
阅读次数:
208
2014-06-02
BaoXinjian一、摘要实现OAF的HGrid的功能二、案例需求:实现OAF的HGrid的功能1. 建立HGrid Regin2. 建立Tree Regin
(1). Tree Node (2). Tree Members3. 建立Table Selection - Mul...
分类:
其他好文 时间:
2014-06-02 10:17:43
阅读次数:
247
Agile software developmentAgile software
developmentis a group ofsoftware development methodsbased oniterative and
incremental development, in which r...
分类:
其他好文 时间:
2014-06-02 10:18:52
阅读次数:
201
此页面为WP8“NOKIA Lumia 638”应用的发布页面。“NOKIA Lumia
638”是一款收集Lumia638的玩机技巧的WP8程序,更好的帮助Lumia用户理解并使用638。此页面主要记录开发进度、APP发布等情况。-------------------相关进度-----------...
分类:
其他好文 时间:
2014-06-02 10:18:20
阅读次数:
213
2014-06-02
BaoXinjian一、摘要实现OAF修改功能Update二、案例需求:实现修改功能1. 建立Update按钮的连接2.设定触发事件为FireAction3.
在SearchInvoiceCO.java中添加如下方法4.建立UpdateInvoicePG5.在UpdateInv...
分类:
其他好文 时间:
2014-06-02 10:20:47
阅读次数:
328
stopGoogleRedirection:http://userscripts.org:8080/scripts/show/186798//
==UserScript==// @name stopGoogleRedirection// @author NLF//...
分类:
其他好文 时间:
2014-06-02 10:21:23
阅读次数:
281
2014-06-02
BaoXinjian一、摘要实现OAF的Poplist功能二、案例需求:实现OAF Poplist功能1. 建立VO,存放Invoice Type的资料2.
建立Item (1).其类型为Poplist (2).修改Item属性,其Picklist的来源为刚才的VO三、案例实现...
分类:
其他好文 时间:
2014-06-02 10:17:02
阅读次数:
292
此页面为WP8“来自NokiaLumia 638”应用的发布页面。“来自NokiaLumia
638”是一款收集Lumia638的玩机技巧的WP8程序,更好的帮助Lumia用户理解并使用638。此页面主要记录开发进度、APP发布等情况。-------------------相关进度---------...
分类:
其他好文 时间:
2014-06-02 10:22:40
阅读次数:
209
root@OpenstackIcehouse2:~# cat
/etc/nova/nova-compute.conf
[DEFAULT]compute_driver=libvirt.LibvirtDriver[libvirt]virt_type=qemulibvirt_inject_partitio...
分类:
其他好文 时间:
2014-06-02 10:23:16
阅读次数:
347
2014-06-02
BaoXinjian一、摘要实现OAF的删除功能delete二、案例需求:实现删除功能1.建立Delete按钮的连接2. 修改VO,增加按钮3.
在SearchInvoiceCO.java中添加如下方法4.在InvoiceAM中添加如下方法三、案例实现1.建立Delete按钮的...
分类:
其他好文 时间:
2014-06-02 10:26:04
阅读次数:
267
2014-06-02
BaoXinjian一、摘要实现OAF的LOV功能二、案例需求:实现OAF的LOV选择1. 建立VO,存放Invoice的LOV栏位的资料2.
建立AM,设定其DataModule3. 建立Page Component,其类型为Region4. 建立Item,其类型为LOV,并...
分类:
其他好文 时间:
2014-06-02 10:26:42
阅读次数:
226
2014-06-02 BaoXinjian一、摘要实现OAF的Sub Tab功能二、
案例需求:实现OAF的Sub Tab功能1. 建立SubTabs,并建立三个Link,建立三个Region,系统会按Region和Link的顺序进行排序2.
进行测试三、 案例实现1. 查找对应的Document ...
分类:
其他好文 时间:
2014-06-02 11:05:14
阅读次数:
213
开Eclipse出现错误“parseSdkContent
failed”,Android的模拟器启动不了。尝试了不少方法,终于搞定。1.删除文件夹 C:\Documents and
Settings\covics\.android 网上一般就只有这一步,为的是删除AVD的镜像文件,我找到:C:\Us...
分类:
其他好文 时间:
2014-06-02 11:05:51
阅读次数:
228
2014-06-02
BaoXinjian一、摘要实现OAF的Tree功能二、案例需求:实现OAF的Tree功能1. 建立两个Page,树结构页面和明细页面2.
在树页面中建立Tree,在Tree中建立Node和 Members(1). Node的重要属性URI:OA.jsp?page=/bxj/o...
分类:
其他好文 时间:
2014-06-02 11:07:08
阅读次数:
373