• + 0 comments

    The question doesn't make clear that the points are already in counterclockwise order. I was staring at the problem for a while wondering how I'm suppose to order the list of points until I looked and saw that the other solutions didn't do anything special (besides calculate the distance between the points and sum them together).