easy simple and to the point!!!! python
Complexity\n- Time complexity: O(n)\n Add your time complexity here, e.g. O(n) \n\n- Space complexity: O(0)\n Add your space complexity here, e.g. O(n) \n\n# Co
# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(0)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution(object):\n    def distanceBetweenBusStops(self, distance, start, destination):\n        if start>destination:\n            start,destination=destination,start\n        if sum(distance[start:destination])<sum(distance[destination:])+sum(distance[:start]):\n            return sum(distance[start:destination])\n        else:\n            return sum(distance[destination:])+sum(distance[:start])
['Python']