Goldman SachsCoding·60 minMembers
Maximum-Sum Path in a Matrix (No Revisits)
Members only
Find the maximum-sum path through a matrix where cells may contain negative numbers and the path cannot revisit any cell. The hard follow-up to the spiral-matrix warm-up in GSAM Infra.
SWE
Infra Eng
grid
dfs
backtracking
hard
Frequency
Single report
Last asked
2024-11-15
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
