Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ - 2 , 8 , 3 , 8 , - 4 , - 15 , 5 , - 2 , - 3 , 1 ] NEW_LINE size = len ( arr ) NEW_LINE print ( findMaxSum ( arr , size ) ) NEW_LINE DEDENT