码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
[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,9,2...
分类:其他好文   时间:2015-01-16 22:07:21    阅读次数:139
[LeetCode] Binary Tree Postorder Traversal
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...
分类:其他好文   时间:2015-01-16 20:52:52    阅读次数:145
[LeetCode] Binary Tree Preorder Traversal
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...
分类:其他好文   时间:2015-01-16 20:47:33    阅读次数:198
[Leetcode] Binary Tree Inorder Traversal
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:其他好文   时间:2015-01-16 20:42:01    阅读次数:141
[LeetCode] Binary Tree Inorder Traversal
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:其他好文   时间:2015-01-16 20:36:17    阅读次数:99
SQL 事务 (存储过程与事务)
use sales --指定数据库 create table bb --创建bb 这个表 ( ID int not null primary key ,--账号 Moneys money --转账金额 ) --bb表里插入两条数据 insert into bb values('1',2000) --账户 1 里有2000元 insert into bb values('2',3000...
分类:数据库   时间:2015-01-16 16:52:13    阅读次数:184
[C++]LeetCode: 101 Binary Tree Zigzag Level Order Traversal
题目: 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: Given ...
分类:编程语言   时间:2015-01-16 16:46:28    阅读次数:179
WinForm 对Web Api 增 册 改 查 的基本操作
WebApi代码: public class ValuesController : ApiController { Entities db=new Entities(); // GET api/values public IEnum...
分类:Windows程序   时间:2015-01-16 16:35:41    阅读次数:202
[Leetcode] Binary Tree Preorder Traversal
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...
分类:其他好文   时间:2015-01-16 14:33:23    阅读次数:129
为什么Hash函数 H(k) = k % m中 m 尽量不要为2的幂次 也不是要是2^i -1
为什么Hash函数 H(k) = k % m中 m 尽量不要为2的幂次 下面的截屏来自CLRS的11章 关于哈希函数的讨论 之前我就一直困惑,为什么             When using the division method, we usually avoid certain values of m. For example, m should...
分类:其他好文   时间:2015-01-16 13:06:56    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!