Printing global maximum subarray sum
print ( " Maximum ▁ subarray ▁ sum ▁ among ▁ all ▁ " , end = ' ' ) ; NEW_LINE print ( " connected ▁ components ▁ = ▁ " , end = ' ' ) NEW_LINE print ( maxSum ) NEW_LINE if __name__ == " _ _ main _ _ " : NEW_LINE