Pregunta de entrevista de The Trade Desk

Skyline problem [leetcode hard question]