Lines Matching full:item
5 function TreeNode(left,right,item){
8 this.item = item;
12 if (this.left==null) return this.item;
13 else return this.item + this.left.itemCheck() - this.right.itemCheck();
16 function bottomUpTree(item,depth){
19 bottomUpTree(2*item-1, depth-1)
20 ,bottomUpTree(2*item, depth-1)
21 ,item
25 return new TreeNode(null,null,item);