Skip to content

23 merge k sorted lists #581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 22, 2022
Merged

Conversation

KC10201
Copy link
Contributor

@KC10201 KC10201 commented Jul 22, 2022

Provide alternative solution for Merge-k-Sorted-Lists using Merge Sort method.

KC10201 added 4 commits July 21, 2022 23:02
Add alternative solution utilizing merge sort rather than min heap.
Updated Extra Space Complexity for Min Heap solution to correct value: O(k).
@Ahmad-A0
Copy link
Collaborator

Thanks, @KC10201!

@Ahmad-A0 Ahmad-A0 merged commit 6085575 into neetcode-gh:main Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants