Showing 1 question
You are given a grid where each cell has a direction. Change the direction of some cells to create at least one valid path from the top-left to the bottom-right corner, minimizing the cost of changes.
#1. Minimum Cost to Make at Least One Valid Path in a Grid
Page 1 of 1 · 1 total