Pergunta de entrevista da empresa LinkedIn

data structure questions and one of my current projects.