โ† Curefit questions
CodingEasy

Count points within a circle radius

Filed under Curefit

The question

Given N coordinates (x, y) on a 2D plane and Q queries, each with a radius r, count how many points lie inside or on the boundary of a circle with radius r centered at the origin.

No write-up yet. Related questions below have one.

Related Curefit questions

Collected from public candidate posts and coding forums. Updated Nov 2026.