Pergunta de entrevista da empresa Burberry

coding logic questions, average difficulty.