← Amazon questions

Maximum Positive Sum Path in Matrix

Filed under Amazon

Given an M x N matrix with positive and negative integers, find a path from (0,0) to (M-1, N-1) that maximizes the sum of elements along the path.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.