Infosys Interview Question

Q. Maximum subarray, leetcode medium question.