Pattern 22: LeetCode Interview Patterns24 sections · 736 units
Open in CourseQuiz: Rectangle Extension
Test your understanding
Check Your Understanding
To find the largest rectangle for a bar of height h, what two boundaries do you need?
- A.The tallest bar to the left and right
- B.The first shorter bar to the left and the first shorter bar to the right
- C.The leftmost and rightmost bars in the array
- D.The bars with the same height