Pergunta de entrevista da empresa The Trade Desk

Skyline problem [leetcode hard question]