HF RL Explorer

Task: Sort Points in Clockwise Order

Task: Sort Points in Clockwise Order: a task in Terminal-Lego-15k (Harbor dataset). Given an array of 2D points (x, y coordinates), implement a program that sorts these points in clockwise order around their centroid (average center point).

The task

Given an array of 2D points (x, y coordinates), implement a program that sorts these points in clockwise order around their centroid (average center point).

Part of PrimeIntellect/Terminal-Lego-15k.