Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged binary-tree
1
vote
1
answer
1
GATE CSE 2023 | Question: 37
Consider the $\text{C}$ function $\text{foo}$ and the binary tree shown. typedef struct node { int val; struct node *left, *right; } node; int foo(node *p) { int retval; if (p == NULL) return 0; else { retval = p->val + foo(p->left) + foo(p->right); printf("%d ", ... $3 \;5\; 8\; 10\; 11\; 13$ $3 \;8 \;16 \;13\; 24\; 50$ $3\; 16\; 8\; 50\; 24\; 13$
admin
asked
in
DS
Feb 15
by
admin
844
views
gatecse-2023
data-structures
binary-tree
2-marks
0
votes
0
answers
2
#selfdoubt
Let n players enter a chess tournament. How many tournament trees are possible? RULES: a player is eliminated after one loss and games are played until only one entrant is left(assume no ties) My approach: (please check if it is correct) there are 3 possible binary tree skeletons w.r.t ... )C2 * (n-4)C2 *...*1} * 2^(n-1) similarly we can do the remaining cases. Is the above method right?
robinofautumn
asked
in
Combinatory
Jan 11
by
robinofautumn
45
views
discrete-mathematics
graph-theory
combinatory
binary-tree
0
votes
0
answers
3
Tree
damz1499
asked
in
DS
Dec 29, 2022
by
damz1499
68
views
data-structures
binary-tree
probability
1
vote
1
answer
4
DRDO CSE 2022 Paper 1 | Question: 27
Find the number of binary tree(s) with $3$ nodes (i.e., $\text{A, B,}$ and $\text{C})$ which when traversed by pre-order gives the sequence $\textbf{C B A}$. You also need to draw each such tree.
admin
asked
in
DS
Dec 15, 2022
by
admin
73
views
drdocse-2022-paper1
data-structures
binary-tree
5-marks
descriptive
1
vote
0
answers
5
DRDO CSE 2022 Paper 1 | Question: 28
If the maximum height of a binary tree is $\mathrm{N},$ then how many number of nodes will there be?
admin
asked
in
DS
Dec 15, 2022
by
admin
49
views
drdocse-2022-paper1
data-structures
binary-tree
4-marks
descriptive
0
votes
1
answer
6
Data Structure
Can we determine unique tree by Inorder and level order traversal .
Overflow04
asked
in
Programming
Sep 28, 2022
by
Overflow04
161
views
data-structures
binary-tree
self-doubt
0
votes
1
answer
7
Best Open Video Playlist for Binary Trees Topic | Data structures
Please list out the best free available video playlist for Binary Trees from Data structures as an answer here (only one playlist per answer). We'll then select the best playlist and add to GO classroom video lists. You can ... standard ones are more likely to be selected as best. For the full list of selected videos please see here
makhdoom ghaya
asked
in
Study Resources
Aug 16, 2022
by
makhdoom ghaya
146
views
go-classroom
video-links
missing-videos
free-videos
binary-tree
0
votes
1
answer
8
For which of the following does there exist a tree satisfying the specified constraints? (a) A binary tree with 65 leaves and height 6. (b) A binary tree with 33 leaves and height 5.
qweas8671
asked
in
DS
Jul 3, 2022
by
qweas8671
228
views
binary-tree
0
votes
1
answer
9
uppcl 2021
what is the average-case time complexity for finding the height of the Binary tree.
amit166
asked
in
Programming
Jun 1, 2022
by
amit166
275
views
data-structures
binary-tree
time-complexity
Page:
1
2
3
4
5
6
...
11
next »
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
My journey from being a MSc student to AIR 239 in GATE CSE 2023 and qualified UGC-NET JRF.
NEEPCO Recruitment 2023
GATE CSE 2023 Results
IIIT Banglore MTech 2023-24
IIIT-Delhi MTech 2023-24
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.7k)
Non GATE
(1.3k)
Others
(2.5k)
Admissions
(653)
Exam Queries
(844)
Tier 1 Placement Questions
(17)
Job Queries
(76)
Projects
(9)
Unknown Category
(866)
Recent questions tagged binary-tree
Recent Blog Comments
congrats pranab
Congratulations @Pranab Paul 10 🥳
sir give access to these tests at least mid May...
Was there interview for mtech as well?
Check CCMT website for previous year cutoff for...