Pergunta de entrevista da empresa Apple

data structure problem and system design