Check out the detailed data structures and algorithms course at www.interviewa... !
Largest Rectangle Under A Histogram
Today's problem is about finding the largest rectangle within a histogram. We'll explore a linear time solution.
I encourage you to try and solve this problem before looking at the video. Then post your solution below.
I give you two options toward the end of the video, so let me know which problem you'd like covered next.
If you want to learn data structures and algorithms, visit eepurl.com/dhWjSH and sign up to learn about my upcoming course.
7 сен 2024