You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are given an array of integers heights where heights[i] represents the height of a bar. The width of each bar is 1.
Return the area of the largest rectangle that can be formed among the bars.
giving optimized solution for this problem using stacks
kindly assign me this issue
The text was updated successfully, but these errors were encountered:
Feature description
You are given an array of integers heights where heights[i] represents the height of a bar. The width of each bar is 1.
Return the area of the largest rectangle that can be formed among the bars.
giving optimized solution for this problem using stacks
kindly assign me this issue
The text was updated successfully, but these errors were encountered: