码迷,mamicode.com
首页 >  
搜索关键字:defined    ( 2488个结果
[LeetCode] Balanced Binary Tree 深度搜索
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2015-03-10 15:16:50    阅读次数:146
A1064. Complete Binary Search Tree (30)
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes w...
分类:其他好文   时间:2015-03-09 00:24:54    阅读次数:207
hihoCoder #1110 Regular Expression
Problem:DescriptionYour task is to judge whether the input is a legal regular expression.A regular expression is defined as follow:1: 0 and 1 are both...
分类:其他好文   时间:2015-03-08 21:20:11    阅读次数:199
A1053. Path of Equal Weight (30)
Given a non-empty tree with root R, and with weight Wiassigned to each tree node Ti. Theweight of a path from R to Lis defined to be the sum of the we...
分类:其他好文   时间:2015-03-08 11:38:19    阅读次数:217
POJ 2081 Recaman's Sequence
比较简单,加一个B数组判重即可Recaman's SequenceTime Limit:3000MSMemory Limit:60000KTotal Submissions:21743Accepted:9287DescriptionThe Recaman's sequence is defined ...
分类:其他好文   时间:2015-03-08 00:02:47    阅读次数:232
1063. Set Similarity
Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Nc is the number of distinct common numbers shared by the two sets, and Nt is the total number of distinct n...
分类:其他好文   时间:2015-03-07 17:13:09    阅读次数:156
Balanced Binary Tree
Balanced Binary Tree问题:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary ...
分类:其他好文   时间:2015-03-07 15:40:43    阅读次数:108
A1043. Is It a Binary Search Tree (25)
Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes wit...
分类:其他好文   时间:2015-03-06 23:33:39    阅读次数:201
html网页中加载js脚本 下载下来是乱码(文件编码格式)
问题描述:在一个index.html网页中,引入了jquery脚本,但是却出现错误,提示$ is not defined Document window.onload=function (){ console.log($); //$ is not defined}...
分类:Web程序   时间:2015-03-06 14:06:08    阅读次数:133
1050. String Subtraction
Given two strings S1 and S2, S = S1 - S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to calculate S1 - S2 for any given strings. However,...
分类:其他好文   时间:2015-03-06 11:21:17    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!