A robot navigates through a hallway using a Markov Decision Process (MDP). The robot moves between different states until it reaches the charging station. Each movement has a reward, and the system calculates the total reward and number of