Golang Solution. Runtime: 0ms Memory: 2.8Mb
basic idea:\n[counter clockwise distance] = [sum of distance] - [clockwise distance]\n\nthis fomula meas\nclockwise distance = sum(distance[start:end])\nsum of 
basic idea:\n[counter clockwise distance] = [sum of distance] - [clockwise distance]\n\nthis fomula meas\nclockwise distance = sum(distance[start:end])\nsum of distance = sum(distance)\ncounter = sum(distance) - sum(distance[start:end])\n\n```\nfunc distanceBetweenBusStops(distance []int, start int, destination int) int {\n\tif len(distance) == 0 || start == destination {\n\t\treturn 0\n\t}\n\n\tif start > destination {\n\t\ttmp := start\n\t\tstart = destination\n\t\tdestination = tmp\n\t}\n\n\tclockwise := sum(distance[start:destination])\n\tcounterClockwise := sum(distance) - clockwise\n\tif clockwise < counterClockwise {\n\t\treturn clockwise\n\t}\n\treturn counterClockwise\n}\n\nfunc sum(ar []int) int {\n\tvar sum int\n\tfor _, v := range ar {\n\t\tsum += v\n\t}\n\treturn sum\n}\n```
['Go']