Joco (NY) interview question

weighted graph problem, give thoughts on solution