How would you modify the dynamic programming algorithm for the coin collecting problem if some cells on the board are inaccessible for the robot?
Apply your algorithm to the board below, where the inaccessible cells are shown by X's. How many optimal paths are there for this board?