We have a binary heap on $n$ elements and wish to insert $n$ more elements (not necessarily one after another) into this heap. Total time required for this is
Option B
we can use build heap method which will take O(n) time complexity
https://gateoverflow.in/459/gate2008-47
64.3k questions
77.9k answers
244k comments
80.0k users