Pregunta de entrevista de Urban Company

Skyline problem on leetcode/ (hard section)