Pergunta de entrevista da empresa Ridgeline

A leet code medium problem on arrays.