Lendbuzz Interview Question

Maximum Subarray LC question on coderpad