Pregunta de entrevista de AKUNA CAPITAL

Min Max Subarray question . N People, K groups.