Pregunta de entrevista de Oracle

Coding question on Kadane’s algorithm, databases, project related