Skip to content

Commit b00284f

Browse files
committed
Merge branch 'largest_rect'
2 parents d029119 + 50d5bb1 commit b00284f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: data_structures/stacks/largest_rectangle_histogram.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def largest_rectangle_area(heights: list[int]) -> int:
22
"""
3-
Given an array of integers representing the heights of bars,
4-
this function returns the area of the largest rectangle that can be formed
3+
Inputs an array of integers representing the heights of bars,
4+
and returns the area of the largest rectangle that can be formed
55
66
>>> largest_rectangle_area([2, 1, 5, 6, 2, 3])
77
10

0 commit comments

Comments
 (0)