Pergunta de entrevista da empresa Meta

About matrix manipulation and tree problems.