Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAHi,
I've created two version of solution. first with the same and known number of trips. The second for unknown number of trips :)
Two ways to do it.
Solved