Question: A robot on Mars is trying to help an astronaut reach the base station 1 5 kilometers away. The robot has limited fuel, and it
A robot on Mars is trying to help an astronaut reach the base station kilometers away. The
robot has limited fuel, and it must find the most efficient way to travel to the base. The goal is to
help the astronaut reach the base while saving fuel.
The robot can do these actions:
Move forward some distance, which uses fuel.
Drop extra fuel at a specific location to use later.
Refill fuel from a location where it has dropped fuel earlier.
Robot's rules:
The robot starts with fuel capsules.
Each fuel capsule lets the robot move up to kilometers.
If the robot runs out of fuel, it must return to where it dropped extra fuel to refuel.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
