Question d’entretien chez The Trade Desk

straight from leetcode hard section: skyline problem