Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1465. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
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.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.