Search
⌘K

Leetcode 478. Generate Random Point in a Circle

Given a circle's radius and center, implement randPoint() to return random points uniformly distributed over the circle's area (including the boundary). The core challenge is to ensure true area-uniform sampling rather than biasing toward the center.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Late July, 2025

Meta

Staff

https://leetcode.com/problems/generate-random-point-in-a-circle/description/

Comments

Your account is free and you can post anonymously if you choose.