Sponsored
Use these hints if you're stuck. Try solving on your own first.
Think of BFS to solve the problem.
When you reach a position with a value = 0 then return true.
Solve with full IDE support and test cases