Function to find the minimum number of required such that adjacent smaller elements gets less number of prizes
def minPrizes ( arr , n ) : NEW_LINE INDENT dpLeft = [ 0 ] * n NEW_LINE dpLeft [ 0 ] = 1 NEW_LINE DEDENT