You're given a ring road with houses numbered to in clockwise order. Xenia starts at house and needs to visit specific houses in a particular order. Each move from one house to the next clockwise neighbor takes minute.
Your task: calculate the minimum time needed to visit all required houses in the given order. This tests your understanding of modular arithmetic and how to handle circular structures with vectors.
Before reading further, think: what happens when you need to go from house to house on a ring road with houses? How many moves does that take?