how theb heap will sort the custom class or a pair
Merge k sorted arrays
@deepakjumani09 heap or priority queue will do internal heapify process or woh apne top pr max element lakr hi dega,jiski value max hogi woh use lake dega ,in pair apka first element ke basis pr hoti hai heapification.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.