GATE 2024 set1 Computer Science and Information Technology question: Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the…
Consider a binary min-heap containing 105 distinct elements. Let be the index (in the underlying array) of the maximum element stored in the heap. The number of possible values of is
Show answer
Official answer: A