AtCoder Problem Help

Can anyone please help me with what the question is demanding and and the logic to solve it ?
I seem to not able to draw out a picture of the question properly with the pond and the houses. Would highly appreciate a simple diagram.
Problem : Traveling Salesman around Lake

Thanks :slight_smile: :slight_smile:

Capture

you have given something like above image and given perimeter of
K meters, and N houses around them.

answer is simply perimeter - maximum distance b/w two houses

1 Like

@iamsv345 Thanks much :slight_smile: Really appreciate your time for putting together that picture :slight_smile:

1 Like