Find the minimum cost to go from (0,0) to (n-1,m-1) in a grid of 0s and 1s.
Unlock detailed company stats for this questionUpgrade
A grid contains 0 and 1. You can change a 1 to 0 at a cost of 1. Find the minimum cost for each cell from (0,0) to (n-1,m-1).
Format · Technical interview.
Community answers
No answers contributed by the community yet.


