Two Sigma Interview Question

A medium leetcode that's on the easier side.