Pregunta de entrevista de Meta

Mostly the original problems from the leetcode.