Pregunta de entrevista de Robinhood

Four algorithm problems that can be found on Leetcode discussion.