Pergunta de entrevista da empresa Flipkart

Kadanes Algorithm variation based question