Pl provide some hint for prb

i have implemented max subarray ,what i need to do further
code:https://ide.codingblocks.com/s/224985