2D prefix sum
1 post1 contributor
+ FollowBe the first to follow this
Write about itArticles about 2D prefix sum
Largest Odd-Sized Square with At Most K Ones
Efficiently find the largest odd-sized square with at most k ones in a binary matrix using 2D prefix sums and binary search.
