1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Other
Quantitative Aptitude
Solving Inequalities
Which of the ...
Question
Which of the following is a valid max heap?
A
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is
C
Suggest Corrections
0
Similar questions
Q.
Which one of the following array represents a binary max-heap?
Q.
A priority queue is implemented as a max-heap initially, it has five elements. The level-order traversal of the heap is as follows:
20, 18, 15, 13, 12
Two new elements '10' and '17' are inserted in the heap in that order, The level-order traversal of the heap after the insertion of the element is
Q.
Consider the process of inserting an element into a Max Heap, where the Max Heap is represented by an array. Suppose we perform a binary search on the path from the new leaf to the root to find the position for the newly inserted element, the number of comparisons performed is
Q.
In a binary max heap containing n numbers, the smallest element can be found in time
Q.
Consider
the
binary
min
heap
given
below
:
(
min
heap
is
a
binary
tree
where
each
node
in
a
tree
has
a
key
which
is
less
than
or
equal
to
the
key
of
its
children
)
Insert
the
key
1
in
above
min
heap
which
of
the
following
is
the
resulant
min
heap
after
two
delete
operations
?
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Inequations II
QUANTITATIVE APTITUDE
Watch in App
Explore more
Solving Inequalities
Other Quantitative Aptitude
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app