由于easyui这个框架简化了不少开发过程,经常被拿来开发后台,但是其实有一个树型的控件,用起来稍微复杂一点,总结了一下最基本的用法!首先是前台添加标签如下: 其次添加引用包 前台代码如下: 这里要说一下,loadfilter加上后就已经可以展示了,主要起过滤作用而如果不...
分类:
Web程序 时间:
2014-06-29 00:51:31
阅读次数:
270
二叉树是最常见最重要的数据结构之一,它的定义如下: 二叉树(binary tree)是有限多个节点的集合,这个结合或者是空集,或者由一个根节点和两颗互不相交的、分别称为左子树和右子树的二叉树组成。 二叉树最基本的操作是遍历:一般约定遍历时左节点优先于右节点,这样根据根节点的遍历顺序可分为三种...
分类:
其他好文 时间:
2014-06-28 23:50:46
阅读次数:
631
在上一篇:二叉树基本操作 中,我们描述了二叉树的递归遍历函数。在这里主要是给出这些函数的测试代码,为了测试更加方便,我们实现了三个新的函数:建立二叉树、统计二叉树叶子节点数量、统计二叉树总节点数量。(二叉树的定义用上篇文章中的定义) 二叉树建立: 1 tree_pointer create_b...
分类:
其他好文 时间:
2014-06-28 22:22:38
阅读次数:
232
2014-06-18 BaoXinjian一、摘要Control层位于Model层和View层的中间,连接了Model层和View层,主要存在两个功能操作/初始化UI和数据接受和处理页面上的用户的各种事件,并进行分发本文的基本结构Designand Create an OA Controller -...
分类:
Web程序 时间:
2014-06-28 20:53:56
阅读次数:
336
1.直接安装安装Sublime text 2插件很方便,可以直接下载安装包解压缩到Packages目录(菜单->preferences->packages)。 2.使用Package Control组件安装也可以安装package control组件,然后直接在线安装:(1) 按Ctrl+`调出c....
分类:
其他好文 时间:
2014-06-28 20:43:33
阅读次数:
691
题目:Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary ...
分类:
其他好文 时间:
2014-06-21 07:03:28
阅读次数:
249
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:
其他好文 时间:
2014-06-21 06:40:07
阅读次数:
172
题目:Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.个人思路:1、选...
分类:
其他好文 时间:
2014-06-21 06:37:00
阅读次数:
183
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No...
分类:
其他好文 时间:
2014-06-21 06:31:43
阅读次数:
265
BACKGROUND OF THE INVENTIONA conventional virtual-machine monitor (VMM) typically runs on a computer and presents to other software the abstraction of...
分类:
数据库 时间:
2014-06-21 00:36:46
阅读次数:
377