← MAQ Software questions
CodingReported in a candidate post, Aug 2019

Maximum rectangular area in a histogram

Filed under MAQ Software

Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram. Also write a recursive function…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MAQ Software questions

Collected from public candidate posts and coding forums. Updated Nov 2026.