这几天把毕业答辩的事弄完了,于是买票出来玩,结果周六是百度之星的复赛,于是我就没有办法来做比赛了,不过看了看题,目测可以过我两三道题.今天已经是比赛的第二天了,我还一直没有时间来A掉这些题,今晚抽空先把最简单的线段树那道题A了再说.题目说的很清楚了,自己看吧.有一棵树,树的每个点有点权,每次有三种操...
分类:
其他好文 时间:
2014-06-02 16:00:42
阅读次数:
225
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
【题目】
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
【题目】
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n) space is pretty straight forward. Could you devise a constant space solution?
confused what "{1,#,2,3}" ...
分类:
其他好文 时间:
2014-06-02 10:38:17
阅读次数:
246
【题目】
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.
The right subtree of a node contains only nodes with ke...
分类:
其他好文 时间:
2014-06-02 10:29:55
阅读次数:
257
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
IMP-00041:Warning:objectcreatedwithcompilationwarnings
昨天导入数据的时候,最后报错
IMP-00041:Warning:objectcreatedwithcompilationwarnings
"CREATETRIGGER"KFPT2".SYN_khgl_qyjbxx_Dafterdeleteonkhgl_qyjbxxfore"
"achrowdeclarenumint;p_idsyn_control_send_sql...
分类:
其他好文 时间:
2014-06-02 03:16:28
阅读次数:
346
这是第二次看关于Spring的资料,因为刚开始学习Spring的时候是边看视频边学习的,所以更注重的是实现代码,但是对宏观的掌握还是不够,这次主要从宏观的角度来分析一下Spring。
什么是Spring
Spring是分层的Java SE/EE应用一站式的轻量级开源框架,以IoC(Inverse of Control:反转控制)和AOP(AspectOriented Programmi...
分类:
编程语言 时间:
2014-06-02 02:24:08
阅读次数:
598
Routh-Hurwitz Criterion
为什么只要有一个极点在右半平面,那么系统就不会稳定?
例如H(s) =( 1/(s+1) ) * ( 1/(s+3) ) * ( 1/(s-2) )
这里有个极点s = 2 在有半平面,通过laplace 反变换可以知道,当时间足够长的时候,AB都衰减的很厉害了,而C却还在增加,这时候系统是不会稳定的...
分类:
其他好文 时间:
2014-06-01 17:21:53
阅读次数:
269