Squarepoint Capital interview question

Leetcode heap based algorithm questions