BrowserStack Interview Question

Path finding in a 2D matrix

Interview Answer

Anonymous

Mar 26, 2021

Use bfs and at each point store the min distance required to reach that point.