/merge-sort

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Hopefully solves following assignment:

There are N amount of numbers in k number of files. Numbers are listed in ascending order in each file. We want to merge those numbers into one file in ascending order. Expecting a solution in Python 3 at O(Nk) space and O(Nk log k) time.