Preparing this workspace.
Problem editorial
We're currently writing the detailed solution for this problem. Check back soon.
Solve ProblemFinding MK Average is a Heap (Priority Queue) Patterns problem, in the Two Heaps for Median Finding subpattern. Once the approach above makes sense, write it yourself and then work through the neighbouring problems that reuse it.