码迷,mamicode.com
首页 >  
搜索关键字:itself    ( 426个结果
Symmetric Tree
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 / \ ...
分类:其他好文   时间:2014-05-09 09:28:18    阅读次数:253
jquery closest方法
.closest( selector ) Description: For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tre...
分类:Web程序   时间:2014-05-07 15:07:34    阅读次数:380
LeetCode OJ - Symmetric Tree && Same Tree
这两道题,大同小异。 我都是用BFS,在遍历的过程,判断结构是否相同/对称,值是否相同。下面是AC代码: 1 /** 2 * Given a binary tree, check whether it is a mirror of itself (ie, symmetric aroun...
分类:其他好文   时间:2014-05-05 09:48:26    阅读次数:401
Recursion
RecursionIt is legal for one function to call another; it is also legal for a function to call itself. It may not be obvious why what is a good thing,...
分类:其他好文   时间:2014-05-01 18:40:44    阅读次数:302
WebMatrix Database.Open… Close() and Dispose()
ASP.NET Web Pages framework examples of the Database helper do not include calls to Close or Dispose because the framework itself is designed to call ...
分类:数据库   时间:2014-04-30 14:08:51    阅读次数:629
Conceptual blockbusting- chap2 perceptual blocks
Page 30Perceptual blocks are obstacles that prevent the problem-solver from clearly perceiving either the problem itself or the information needed to ...
分类:其他好文   时间:2014-04-28 00:54:37    阅读次数:403
426条   上一页 1 ... 41 42 43
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!