Pergunta de entrevista da empresa JPMorganChase

Leetcode max loss in stocks arranged in an array