Pregunta de entrevista de The Trade Desk

1h to solve a leetcode hard problem