Driver program to test above function
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ - 2 , 7 , 15 , - 14 , 0 , 15 , 0 , 7 , - 7 , - 4 , - 13 , 5 , 8 , - 14 , 12 ] NEW_LINE print ( " Given ▁ Array ▁ is " ) NEW_LINE print ( arr ) NEW_LINE DEDENT