Pregunta de entrevista de Hudson River Trading

4 leetcode medium to hard level question