Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged binary-search-tree
1
1 vote
1
1 answer
648
648 views
NIELIT Scientist B 2020 November: 63
Binary search tree contains the values $\text{1, 2, 3, 4, 5, 6, 7, 8}$. The tree is traversed in pre-order and the values are printed out. Which of the following sequence...
gatecse
648
views
asked
Dec 9, 2020
Data Structures
nielit-scb-2020
binary-search-tree
tree
data-structures
preorder-traversal
+
–
0
0 votes
2
answers
2 answers
1.3k
1.3k views
NIELIT Scientist B 2020 November: 106
Suppose we have to insert the following sequence of keys into an empty binary search tree:$\text{5, 7, 45, 60, 50, 23, 15, 54}$What would be the height of binary search t...
gatecse
1.3k
views
asked
Dec 9, 2020
Data Structures
nielit-scb-2020
binary-search-tree
data-structures
tree
+
–
1
1 vote
1
1 answer
670
670 views
NIELIT Scientific Assistant A 2020 November: 93
When we perform in order traversal on a binary tree, we get the ascending order array. The tree is:Heap treealmost complete binary treeBinary search treeCannot be determi...
gatecse
670
views
asked
Dec 9, 2020
Data Structures
nielit-sta-2020
data-structures
binary-search-tree
+
–
2
2 votes
1
1 answer
1.2k
1.2k views
NIELIT 2016 MAR Scientist C - Section C: 50
You are given the postorder traversal, $P$, of a binary search tree on the $n$ elements $1,2,\dots,n.$ You have to determine the unique binary search tree that has $P$ as...
admin
1.2k
views
asked
Apr 2, 2020
Data Structures
nielit2016mar-scientistc
data-structures
binary-search-tree
+
–
2
2 votes
1
1 answer
1.1k
1.1k views
NIELIT 2017 OCT Scientific Assistant A (CS) - Section B: 5
A binary search tree contains the values-$1,2,3,4,5,6,7$ and $8.$ The tree is traversed in preorder and the values are printed out. Which of the following sequences is a ...
admin
1.1k
views
asked
Apr 1, 2020
Data Structures
nielit2017oct-assistanta-cs
data-structures
binary-search-tree
tree-traversal
+
–
2
2 votes
2
2 answers
1.5k
1.5k views
NIELIT 2017 DEC Scientific Assistant A - Section B: 2
In binary search tree which traversal is used for getting ascending order values ?InorderPreorderPostorderNone of the options
admin
1.5k
views
asked
Mar 31, 2020
Data Structures
nielit2017dec-assistanta
data-structures
binary-search-tree
tree-traversal
+
–
1
1 vote
3
3 answers
2.2k
2.2k views
NIELIT 2017 DEC Scientist B - Section B: 30
If for a given Binary Search Tree (BST) the pre-order traversal is $41,23,11,31,62,50,73$. Then which of the following is its post-order traversal?$11,31,23,50,73,62,41$$...
admin
2.2k
views
asked
Mar 30, 2020
Data Structures
nielit2017dec-scientistb
data-structures
binary-search-tree
tree-traversal
+
–
0
0 votes
1
1 answer
939
939 views
UGC NET CSE | December 2005 | Part 2 | Question: 25
Which traversal techniques lists the nodes of a binary search tree in ascending order?post – orderin – orderpre – orderlinear – order
go_editor
939
views
asked
Mar 27, 2020
Data Structures
ugcnetcse-dec2005-paper2
data-structures
binary-search-tree
+
–
2
2 votes
4
4 answers
6.8k
6.8k views
UGC NET CSE | January 2017 | Part 2 | Question: 25
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...
go_editor
6.8k
views
asked
Mar 24, 2020
Algorithms
ugcnetjan2017ii
algorithms
binary-tree
binary-search-tree
+
–
23
23 votes
5
answers
5 answers
27.7k
27.7k views
GATE CSE 2020 | Question: 5
The preorder traversal of a binary search tree is $15, 10, 12, 11, 20, 18, 16, 19$. Which one of the following is the postorder traversal of the tree?$10,11,12,15,16,18,1...
Arjun
27.7k
views
asked
Feb 12, 2020
Data Structures
gatecse-2020
binary-search-tree
one-mark
+
–
57
57 votes
6
answers
6 answers
41.7k
41.7k views
GATE CSE 2020 | Question: 41
In a balanced binary search tree with $n$ elements, what is the worst case time complexity of reporting all elements in range $[a,b]$? Assume that the number of reported ...
Arjun
41.7k
views
asked
Feb 12, 2020
Data Structures
gatecse-2020
data-structures
binary-search-tree
two-marks
+
–
5
5 votes
3
3 answers
4.3k
4.3k views
ISRO CSE 2020 | Question: 19
What is the in-order successor of $15$ in the given binary search tree?$18$$6$$17$$20$
Satbir
4.3k
views
asked
Jan 13, 2020
Data Structures
isro-2020
data-structures
binary-search-tree
easy
+
–
1
1 vote
1
1 answer
2.2k
2.2k views
Cormen Edition 3 Exercise 12.1 Question 5 (Page No. 289)
Argue that since sorting $n$ elements takes $\Omega (n\ lgn)$ time in the worst case in the comparison model, any comparison-based algorithm for constructing a $BST$ fro...
KUSHAGRA गुप्ता
2.2k
views
asked
Nov 20, 2019
Algorithms
cormen
algorithms
descriptive
binary-search-tree
binary-tree
tree
+
–
6
6 votes
4
4 answers
3.6k
3.6k views
CMI2019-A-3
Suppose that the figure to the right is a binary search tree. The letters indicate the names of the nodes, not the values that are stored. What is the predecessor node, i...
gatecse
3.6k
views
asked
Sep 13, 2019
Data Structures
cmi2019
data-structures
tree
binary-search-tree
+
–
1
1 vote
1
1 answer
1.4k
1.4k views
AVL Tree Balancing
here what to do first as FIZZA and IMRAN both are unbalanced than either to do RR rotation from FIZZA-IMRAN-NAVEEN or RL rotation from IMRAN-NAVEEN-LOVELY
kd.....
1.4k
views
asked
Apr 13, 2019
Data Structures
avl-tree
data-structures
tree
binary-search-tree
algorithms
+
–
0
0 votes
2
2 answers
729
729 views
Is there any good content available online for OPTIMAL BINARY SEARCH TREE? Preferably Videos.
Suggestions on good content for Optimal Binary Search Tree.
`JEET
729
views
asked
Jan 19, 2019
Data Structures
data-structures
binary-search-tree
reference-book
+
–
2
2 votes
1
1 answer
716
716 views
#Ace_Test_series.
Consider the problem of construction of a minimum cost binary search tree for a given set of ‘$n$’ identifiers with their respective probabilities. The time complexity of...
`JEET
716
views
asked
Jan 19, 2019
Data Structures
data-structures
binary-search-tree
time-complexity
ace-test-series
+
–
0
0 votes
0
0 answers
1.9k
1.9k views
#ACE_Test_Series
Consider the following instance of OBST (Optimal Binary search Tree) problem.N = 4; <$a_1$, $a_2$, $a_3$, $a_4$ = <do, if, int, while>P(1...4) = <3,3,1,1>; Q(0...4) = <2,...
`JEET
1.9k
views
asked
Jan 19, 2019
Algorithms
ace-test-series
algorithms
binary-search-tree
+
–
4
4 votes
1
1 answer
1.0k
1.0k views
Applied Course | Mock GATE | Test 1 | Question: 34
Which of the following statements is/are TRUE?Suppose there are $n$ nodes are present in a binary search tree. The height of any binary search tree is $\theta (\log n)$$\...
Applied Course
1.0k
views
asked
Jan 16, 2019
Data Structures
applied-course-2019-mock1
data-structures
binary-search-tree
+
–
1
1 vote
1
1 answer
1.4k
1.4k views
Applied Course | Mock GATE | Test 1 | Question: 43
The postorder traversal of a binary search tree is $25, 33, 30, 35, 42, 48, 40, 60, 58, 50$. The inorder traversal of the same tree is $25, 30, 33, 35, 40, 42, 48, 50, 58...
Applied Course
1.4k
views
asked
Jan 16, 2019
Data Structures
applied-course-2019-mock1
numerical-answers
data-structures
binary-search-tree
+
–
4
4 votes
5
5 answers
9.3k
9.3k views
How many Binary Search Trees are possible for a labelled nodes?
Let us there are n nodes which are labelled.Then the number of trees possible is given by the Catalan Number i.e $\binom{2n}{n} / (n+1)$Then the binary search trees possi...
sripo
9.3k
views
asked
Jan 16, 2019
Data Structures
data-structures
binary-search-tree
+
–
0
0 votes
0
0 answers
1.1k
1.1k views
Testbook.com Test Series
When searching for the key value 50 in a binary search tree, nodes containing the key values 10,15,20,30,60,80,89,90 are traversed, not necessarily in the given order. Ho...
Rishav Chetan
1.1k
views
asked
Jan 16, 2019
Data Structures
binary-search-tree
+
–
0
0 votes
1
1 answer
668
668 views
Binary serach tree
Can binary serach tree have duplicate elements in the tree?
akankshadewangan24
668
views
asked
Jan 12, 2019
Programming in C
binary-search-tree
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
10
11
12
next »