Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 4 , 5 , 7 , 9 , 3 ] NEW_LINE n = len ( arr ) NEW_LINE f = [ [ 0 for x in range ( m + 1 ) ] for y in range ( n + 1 ) ] NEW_LINE operations ( arr , n , f ) NEW_LINE DEDENT