Oracle interview question

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