Detect and Highlight Overlapping Circles Drawn on Mouse Click
Build a React (or VanillaJS) app where each click on the screen draws a circle with a fixed radius of 100px at that position. After each new circle is added, check all existing circles for overlaps by comparing center-to-center distances against the sum of their radii. If two circles overlap, change the background color of the later circle to indicate the conflict. SDE3 bonus: let users drag the mouse to set a custom diameter before releasing.