Leetcode 3257. Maximum Value Sum by Placing Three Rooks II | Hello Interview