Merge k sorted arrrays

I want to know that what will be the time complexity of this code and why ?

Hey @CODER_JATIN read the last approach of min heap


I could have copy pasted it, but didn’t wanted too. It’s a very good editorial, shown with dry run. If you find any difficulty in understanding it, let me know. Will help accordingly.

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.