Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use BFS.
BFS on (x,y,r) x,y is coordinate, r is remain number of obstacles you can remove.
Solve with full IDE support and test cases