Pergunta de entrevista da empresa Superhuman

Question related to stack, of having non continuous character