leetle

Daily challenge for 2025-08-10

222. Robot Vacuum Coverage Calculator

Write a function solve that calculates the total area cleaned by a robot vacuum. Given a list of circular cleaning paths [x, y, radius], return the total unique area covered (avoid double-counting overlaps).

Example:
Input: [[0, 0, 2], [3, 0, 2]]
Output: 23.56 (two circles with small overlap)

Run this challenge interactively in Python or JavaScript when the app loads.