Whats the difference between this approach and the previous one,ie,using class heap which is O(logn)?
Please answer this?
plz see in the course title is insertion in heap section
or how can i share screenshot through mobile?
@garganshul151 the course is not accessible to me, you’ll have to share the code only. You can take a screenshot and post pictures here. Open discuss.codingblocks.com and you can attach pictures from there