Citadel OA | Sprint Training | Citadel Online Assessment Question

If the number of markers on the trail, n = 5, and assigned sprints = [2,4,1,3], Pat first sprints from position 2—4. The next sprint is from position 4-1, and then 1-3.A marker numbered position pis considered to be visited each time Pat either starts or ends a sprint there and each time it is passed while sprinting. The total number of visits to each position in the example is calculated like so:

This is a companion discussion topic for the original entry at