InterviewGPT
Robot Partner
Home
Modules
Blogs
Pricing
FAQ
Sign In
Blogs
Coding
Maximal Rectangle In Binary Matrix
Search
The Question
Coding
Maximal Rectangle in Binary Matrix
Given a binary matrix filled with 0s and 1s, find the area of the largest rectangle containing only 1s.
Java
Monotonic Stack
DP
February 5, 2026