โ† Sandvine questions
CodingReported in a candidate post, Sep 2020

Max and Min Sum Straight Line Path in Matrix

Filed under Sandvine

The question

Given a matrix, find the difference between the maximum sum and minimum sum that can be obtained by traversing through a straight line in the matrix in any horizontal, vertical, or diagonal direction.

No write-up yet. Related questions below have one.

Related Sandvine questions

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