Pergunta de entrevista da empresa J.P. Morgan

It was some leet code questions with some array manipulations.