Pregunta de entrevista de Phenom

probability and statistics based Kadane's algorithm