Is there any example where down heapify is costlier than the upheapify?
Please resolve this
@garganshul151
Both of them work in logn complexity only on average
So complexity wise no, no such example
Is there any example where down heapify is costlier than the upheapify?
@garganshul151
Both of them work in logn complexity only on average
So complexity wise no, no such example