Bars of width 1 stand side by side. Find the area of the largest rectangle that fits inside the histogram. LeetCode 84, asked in a Waymo self-driving phone screen.
Bars of width 1 stand side by side. Find the area of the largest rectangle that fits inside the histogram. LeetCode 84, asked in a Waymo self-driving phone screen.
The discussion opens with the full question.