← PayPal questions

Minimum weight path in 3x3 matrix

Filed under PayPal

Given a 3x3 matrix where each cell represents a node and edges between adjacent cells (up, down, left, right) have non-negative weights, find the path with the minimum sum of weights from the top-left…

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 PayPal questions

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