educative.io

Is the 'Merge k-sorted lists' with a min heap an alternative solution for the fetch top movies problem?

Is the ‘Merge k-sorted lists’ with a min heap an alternative solution for the fetch top movies problem?

1 Like

Hi Tony,

yes, you’re right.

We can implement this solution using min heap too.

Thank you!