← All problemsSign in

Average price of zone in City

You are given a set of coordinates of stations in a city. You have to connect the outermost stations and make a Polygon. Now neglect the points used to make this polygon and again connect the outermost points from the remaining points. Do this until it is not possible to make more polygons from the remaining points. This would make an onion-like structure made of polygons. The area between every

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start