Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1184. Distance Between Bus Stops
Given a circular array of distances between adjacent stops, compute the shortest distance between two stops by summing the distances along one direction and taking the minimum with the complementary distance around the circle.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.