← MakeMyTrip questions

Count points lying inside or on a circle for multiple queries

Filed under MakeMyTrip

Given a list of 2D points and multiple queries, each providing a radius R, count how many points (x, y) satisfy x^2 + y^2 <= R^2.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

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