Available question text
Sort the horizontal and vertical cut positions and find the largest gap between consecutive cuts (including the distances to the cake edges). The maximum piece area is the product of the largest horizontal gap and largest vertical gap, returned modulo 10^9+7.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source