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