Domanda di colloquio di Samsung Electronics

what is kadanes algorithm in dsa

Risposta di colloquio

Anonimo

5 set 2022

Given an array Arr[] of N integers. Find the contiguous sub-array(containing at least one number) which has the maximum sum and return its sum.