Part of course:
Hands-on: K-sort (with progressive 'hint-by-hint' solution)
We've just implemented the heap data structure and the heap-sort algorithm. Now, we'll solve the K-sort problem using heaps. You can work in any programming language of your choice - Python, C++, Java, or anything else you want. Let's get started!