Pergunta de entrevista da empresa Asana

I had two problems to solve - one involving data structures and one about Object Oriented design