Topic: Greedy Algorithm Problem / Level: beginner

Problem: Maximize the number of rides you can take with a given amount of fuel.

Run the code to see the output here...