Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged binary-tree
0
0 votes
1
1 answer
708
708 views
height of a tree
For the height of the tree for gate what should we consider the number of edges from the root the leaf or number of levels.????
saipriyab
708
views
asked
Nov 27, 2017
Data Structures
binary-tree
data-structures
descriptive
+
–
4
4 votes
4
4 answers
9.6k
9.6k views
Number of binary search trees
How many different binary search trees can be constructed using six distinct keys? 256 128 132 264
Parshu gate
9.6k
views
asked
Nov 27, 2017
Data Structures
binary-tree
binary-search
binary-search-tree
+
–
1
1 vote
1
answers
1 answer
1.1k
1.1k views
Tree Traversal doubt
Please tell me - 1) What is top down evaluation of Parse tree?2) What is Bottom Up evaluation of Parse Tree3) What is Depth First left to right evaluation of Parse tree?I...
iarnav
1.1k
views
asked
Nov 22, 2017
Compiler Design
binary-tree
compiler-design
lr-parser
+
–
2
2 votes
3
answers
3 answers
5.5k
5.5k views
tree traversals , how to approach?
Let T be a rooted binary tree whose vertices are labelled with symbols a, b, c, d, e, f, g, h, i, j, k. Suppose the in-order and post-order traversals of T produce the fo...
Parshu gate
5.5k
views
asked
Nov 13, 2017
Data Structures
binary-tree
data-structures
tree-traversal
+
–
2
2 votes
3
answers
3 answers
3.7k
3.7k views
Tree traversals
For a binary tree T,preorder traversal yields: 11,8,6,4,7,10,19,43,31,29,37,49 andinorder traversal yields: 4,6,7,8,10,11,19,29,31,37,43,49The height of the T is _____...
Parshu gate
3.7k
views
asked
Nov 13, 2017
Data Structures
binary-tree
data-structures
tree-traversal
+
–
14
14 votes
3
3 answers
8.0k
8.0k views
Does unique binary tree is possible with full binary tree and preorder and postorder ?
A Full Binary Tree is a binary tree where every node has either 0 or 2 children.what i knowwith Preorder and Inorder , Inorder and Postorder and Inorder and Level-order ...
sunil sarode
8.0k
views
asked
Nov 10, 2017
Data Structures
binary-tree
tree-traversal
data-structures
+
–
0
0 votes
1
1 answer
2.1k
2.1k views
Binary Tree construction
Given the preorder/postorder and inorder traversal of a binary tree, we can always construct a unique binary tree (I think so, correct me if I am wrong)Construct a binary...
humblefool
2.1k
views
asked
Nov 7, 2017
Data Structures
data-structures
algorithms
binary-search-tree
binary-tree
tree-traversal
+
–
0
0 votes
0
0 answers
745
745 views
MadeEasy Subject Test: Programming & DS - Binary Tree
Consider programint foo(struct node *tree){if(tree==0)return 0;int lh=ht(tree->left);int rh=ht(tree->right);int ld=foo(tree->left);int rd=foo(tree->right);return max(lh+r...
sunaina rawat
745
views
asked
Nov 7, 2017
Data Structures
made-easy-test-series
data-structures
binary-tree
+
–
2
2 votes
3
answers
3 answers
1.5k
1.5k views
#madeeasytestseries
The minimum size that an array may require to store a binary tree with 'n' nodes is ______.A. $2^{\left \lceil \log (n+1)) \right \rceil}-1$B. $2^{n}-1$C. $2^{n}-n-1$D. n...
Mahendra Singh Kanya
1.5k
views
asked
Nov 7, 2017
Data Structures
data-structures
binary-tree
made-easy-test-series
+
–
1
1 vote
2
2 answers
4.2k
4.2k views
UGC NET CSE | November 2017 | Part 3 | Question: 31
Consider a full binary tree with $n$ internal nodes, internal path length $I$, and external path length $e$. the internal length of a full binary tree is the sum, taken o...
Arjun
4.2k
views
asked
Nov 5, 2017
Graph Theory
ugcnetcse-nov2017-paper3
data-structures
binary-tree
+
–
1
1 vote
1
1 answer
1.5k
1.5k views
BINARY TREE
A rooted tree with 8 nodes has its nodes [1.....8] in preorder.When the tree is traversed in postorder.....nodes visited are{3,5,4,2,7,8,6,1}.Draw a tree for it.How to s...
Shivi rao
1.5k
views
asked
Nov 1, 2017
Data Structures
binary-tree
data-structures
+
–
3
3 votes
1
answers
1 answer
2.4k
2.4k views
Trees
Number of rooted labeled trees(i.e. each node can be the root) with 6 vertices is:
Shivam Chauhan
2.4k
views
asked
Nov 1, 2017
Programming in C
binary-tree
algorithms
+
–
2
2 votes
0
0 answers
1.8k
1.8k views
Binary Tree
Consider the following routine on binary treevoid do(struct btnode *t) { if(t) { Do(t->Rightchild); Do(t->Leftchild); swap(t->Rightchild,t->Leftchild); } }1) What does Do...
srestha
1.8k
views
asked
Oct 28, 2017
Data Structures
data-structures
binary-tree
+
–
3
3 votes
0
0 answers
834
834 views
Binary tree
In a binary tree, the time complexity of best upper and lower bound time required to get number of subtrees having exactly 8 nodes?
srestha
834
views
asked
Oct 14, 2017
Data Structures
binary-tree
data-structures
+
–
0
0 votes
2
2 answers
5.0k
5.0k views
UGC NET CSE | June 2009 | Part 2 | Question: 27
In a full binary tree of height k, there are ______ internal nodes .2k-1 2k-1 2k 2k+1
rishu_darkshadow
5.0k
views
asked
Sep 22, 2017
Data Structures
ugcnetcse-june2009-paper2
data-structures
binary-tree
+
–
2
2 votes
2
2 answers
1.7k
1.7k views
UGC NET CSE | June 2009 | Part 2 | Question: 28
A binary tree is said to have heap property if the elements along any path :from leaf to root are non-increasing from leaf to root are non-decreasing from root to l...
rishu_darkshadow
1.7k
views
asked
Sep 21, 2017
Data Structures
ugcnetcse-june2009-paper2
binary-tree
data-structures
+
–
1
1 vote
0
0 answers
568
568 views
GATE 1987#Binary Tree
https://gateoverflow.in/2604/gate1995_1-17 .What is the degree of a node in a tree? Is it same as a graph OR the number of children of that node?
Abhi Girin
568
views
asked
Sep 21, 2017
Programming in C
data-structures
binary-tree
graph-theory
+
–
0
0 votes
2
answers
2 answers
3.7k
3.7k views
UGC NET CSE | December 2009 | Part 2 | Question: 21
If the number of leaves in a strictly binary tree is an odd number, then what can you say with full conviction about total number of nodes in the tree ?(A) It is an odd n...
rishu_darkshadow
3.7k
views
asked
Sep 17, 2017
Data Structures
ugcnetcse-dec2009-paper2
data-structures
binary-tree
+
–
3
3 votes
2
answers
2 answers
4.7k
4.7k views
Binary Tree
How many numbers of binary tree can be created with 4 nodes which when traversed in post order gives the sequence D, C, B, A?1. 142. 153. 104. 16Please Explain.Is there a...
nishant279
4.7k
views
asked
Sep 16, 2017
Data Structures
data-structures
binary-tree
+
–
3
3 votes
2
2 answers
1.2k
1.2k views
Trees
Can somebody please list out the main advantages of B trees, B+ trees and Binary Search Trees over each other?
Warlock lord
1.2k
views
asked
Aug 28, 2017
Databases
databases
binary-tree
+
–
2
2 votes
1
answers
1 answer
1.0k
1.0k views
binary tree
If a binary tree contains 1056 nodes the what is the height of binary tree??
Hira Thakur
1.0k
views
asked
Aug 21, 2017
Data Structures
binary-tree
+
–
1
1 vote
2
answers
2 answers
1.0k
1.0k views
the gate book
The no. of binary trees with 3 nodes which when traversed by post-order gives the sequenceA, B, C is:(a) 3 (b) 9(c) 7 (d) 5
Lakshman Bhaiya
1.0k
views
asked
Aug 18, 2017
Data Structures
binary-tree
+
–
1
1 vote
1
1 answer
742
742 views
Binary tree doubt
Q Consider a complete Binary Tree ‘T’ with key of root node be ‘P’. It is given that the left and right subtree of ‘P’ satisfies min-heap property. What is the time taken...
kallu singh
742
views
asked
Aug 8, 2017
Programming in C
data-structures
binary-tree
+
–
1
1 vote
2
answers
2 answers
1.3k
1.3k views
Binary Tree DS
How many distinct binary tree can be formed with three distinct keys?Please help me to find the correct answer?
mystylecse
1.3k
views
asked
Aug 6, 2017
Programming in C
binary-tree
data-structures
+
–
1
1 vote
1
1 answer
2.8k
2.8k views
Which of the following represents the number of labeled binary trees with ‘n’ node, which have same preorder ?
Can not find out
kallu singh
2.8k
views
asked
Aug 5, 2017
Programming in C
binary-tree
+
–
1
1 vote
1
1 answer
765
765 views
What does the following code do?
int A(struct node* node) { if (node==NULL) return 0; else { int lDepth = A(node->left); int rDepth = A(node->right); /* use the larger one */ if (lDepth rDepth) return(l...
Aghori
765
views
asked
Jul 4, 2017
Programming in C
self-made
algorithms
binary-tree
+
–
0
0 votes
2
answers
2 answers
1.5k
1.5k views
the height of a binary tree
The height of a binary tree having 'i' nodes at level 'i' considering root to be at level 1 is . where 'n' is the total no of nodes in the tree.A. O(logn)B. O(n)C. O(R...
Aman Bisht
1.5k
views
asked
Jun 12, 2017
Data Structures
data-structures
binary-tree
+
–
0
0 votes
2
2 answers
583
583 views
Test by Bikram | Algorithms | Test 2 | Question: 7
Which of the following statements is FALSE?Optimal binary search tree construction can be performed efficiently using dynamic programming.Breadth-first search cannot be u...
Bikram
583
views
asked
May 26, 2017
Algorithms
tbb-algorithms-2
algorithms
data-structures
graph-algorithms
binary-tree
+
–
1
1 vote
1
1 answer
717
717 views
Test by Bikram | Mock GATE | Test 4 | Question: 31
An $m-ary$ tree is a tree in which every node has at most $m$ children. In an $m-ary$ tree with $p$ nodes and height $l$ $($starting from $0)$, which of the following is ...
Bikram
717
views
asked
May 14, 2017
Data Structures
tbb-mockgate-4
data-structures
tree
binary-tree
+
–
9
9 votes
3
answers
3 answers
9.4k
9.4k views
ISRO CSE 2017 | Question: 50
If the post order traversal gives ab -cd * + then the label of the nodes 1,2,3.. will be+ , -, *, a,b,c,da, -,b,+,c,*,da,b,c,d,-,*,+-,a,b,+,*,c,d
sh!va
9.4k
views
asked
May 7, 2017
Data Structures
isro2017
data-structures
binary-tree
tree-traversal
+
–
Page:
« prev
1
...
4
5
6
7
8
9
10
11
12
13
14
next »