Topic: Dynamic Programming Problem / Level: intermediate

Problem: Solve the "Shortest Path to Collect Coins in a Grid with Penalties" problem where you minimize the penalty while collecting coins in a grid using dynamic programming.

Run the code to see the output here...