Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3257. Maximum Value Sum by Placing Three Rooks II
Pick three cells on an m×n integer board so that no two share a row or column and the sum of their values is maximized — equivalently, find the maximum-weight partial matching of size 3 between rows and columns. With m,n up to 500, brute-force triples is infeasible, so the challenge is to derive an O(mn · polylog) / optimized precomputation or DP approach.
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.