bp Interview Question

least weighted path 2d grid