### What would you like to share? ` maxHeap.insert([4]) ` just use number ` maxHeap.insert(4) ` ### Additional information _No response_
Activity
appgurueu commentedon Jul 25, 2023
The example seems to be wrong; we should just remove it. Moreover, the max heap seems redundant with our min heap. Feel free to deduplicate the code.
Bajpai25 commentedon Oct 4, 2023
@appgurueu Could you please assign me this issue .
appgurueu commentedon Oct 4, 2023
I think @ROHAN13498 is already working on deduplicating the code.