Sign in
Log inSign up

Any suggestions for an approach to this question? https://www.careercup.com/question?id=5677905146281984

Savar Mehrotra's photo
Savar Mehrotra
·Mar 15, 2018

Question Link

The two approaches that I could think of were

  1. Backtracking
  2. Modified Dijkstra's

My code for modified Dijkstra's is here Code