Pragmatic Play Interview Question

Leetcode Hard, The skyline problem.