Area of Largest Rectangle in Histogram
Input
215623
def max_hist(*tups): list1 = [] for tup in tups: prod = tup[0] * tup[1] list1.append(prod) return max(list1) max_hist((1,2), (3,4), (4,5)) 20
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment