码迷,mamicode.com
首页 >  
搜索关键字:binary index tree    ( 56466个结果
二叉排序树(Binary Sort Tree)
BST 的创建,插入以及删除
分类:其他好文   时间:2014-07-01 22:24:39    阅读次数:242
ASP.NET CheckBoxList Operations with jQuery
本文描述了如何通过jQuery来对ASP.NET CheckBoxList控件进行一些基本操作,如通过value/text/index check/uncheck CheckBoxList,最小/最大选择限制等。 例如在ASP.NET页面中有如下CheckBoxList控件定义: Serve...
分类:Web程序   时间:2014-07-01 20:40:04    阅读次数:240
从零开始学ios开发(十三):Table Views(下)Grouped and Indexed Sections
在前面2篇关于Table View的介绍中,我们使用的Style都是Plain,没有分组,没有index,这次学习的Table View和iphone中的通讯录很像,有一个个以字符为分割的组,最右边有一列小字符作为index,最顶端有一个搜索栏可以进行搜索,好了,下面开始这次的学习。1)创建一个新的...
分类:移动开发   时间:2014-07-01 20:06:56    阅读次数:388
leecode Binary Tree Level Order Traversal II java
做完这道题,只能说基本功很重要,数组中套数组就不会用了,过几天吧1做了,看自己到底等没。https://oj.leetcode.com/problems/binary-tree-level-order-traversal-ii/import java.util.*;/** * Definition ...
分类:编程语言   时间:2014-07-01 13:30:53    阅读次数:300
树的最大深度 leecode java
秒杀/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { val = ...
分类:编程语言   时间:2014-07-01 13:16:49    阅读次数:174
树中是否存在路径和为 sum leecode java
https://oj.leetcode.com/problems/path-sum//** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNod...
分类:编程语言   时间:2014-07-01 13:09:20    阅读次数:198
leetcode 题解:Binary Tree Level Order Traversal (二叉树的层序遍历)
题目:Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,...
分类:其他好文   时间:2014-07-01 12:44:09    阅读次数:199
编程算法 - 数组中出现次数超过一半的数字 代码(C)
数组中出现次数超过一半的数字 代码(C)本文地址: http://blog.csdn.net/caroline_wendy题目: 数组中有一个数字出现的次数超过数组长度的一半, 请找出这个数字.使用快速排序(QuickSort)的方法, 把中值(middle)和索引(index)匹配, 输出中值, 并检测是否符合要求.代码: /* * main.cpp * * Created on: 20...
分类:其他好文   时间:2014-06-30 19:54:58    阅读次数:222
编程算法 - 最小的k个数 代码(C)
最小的k个数 代码(C)本文地址: http://blog.csdn.net/caroline_wendy题目: 输入n个整数, 找出其中的最小k个数.使用快速排序(Quick Sort)的方法求解, 把索引值(index)指向前k个数.代码:/* * main.cpp * * Created on: 2014.6.12 * Author: Spike */ /*eclip...
分类:其他好文   时间:2014-06-30 18:16:34    阅读次数:204
UValive3268 Jamie's Contact Groups(二分+最大流)
题目地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1269 Jamie is a very popular girl and has quite a lot of friends, so she always keeps a v...
分类:其他好文   时间:2014-06-30 16:55:26    阅读次数:374
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!