o(n) in python3
def distanceBetweenBusStops(self, distance: List[int], start: int, destination: int) -> int:\n        r_sum,l_sum=0,0\n        if(destination<start):\n         
def distanceBetweenBusStops(self, distance: List[int], start: int, destination: int) -> int:\n        r_sum,l_sum=0,0\n        if(destination<start):\n            destination,start=start,destination\n        for i in range(len(distance)):\n            if(i+start<destination):\n                l_sum+=distance[(i+start)%len(distance)]\n            else:\n                r_sum+=distance[(i+start)%len(distance)]\n        return min(l_sum,r_sum)
[]