Please help me in AHHOUSE from ISCC2017

can anybody help me with this problem ?

You can use one of shortest path Algorithm in graphs like Djkistra or Bellman Ford.

1 Like

i tried to create a bottom-up dp table but i dont know why its not working…anybody please help.Hers’s my solution