Given an array of bar heights where each bar has width 1, return the area of the largest rectangle that fits inside the histogram.
Practise this challenge
All coding challenges