Pergunta de entrevista da empresa Meta

Arrays, matrices, etc. Had too little time imo