Max path sum in 2D array
Filed under PhonePe
The question
Find the maximum path sum in a 2D array (N*2) where the path must be strictly increasing and you pick one element per row.
No write-up yet. Related questions below have one.
Related PhonePe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.