Search
⌘K

Leetcode 1401. Circle and Rectangle Overlapping

Determine whether an axis-aligned rectangle and a circle overlap (i.e., share any point) — a geometry problem that reduces to computing the rectangle point closest to the circle center and checking if its distance to the center is <= radius.


Question Timeline

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

Comments

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