logoalt Hacker News

TimBytetoday at 2:33 PM0 repliesview on HN

Your second idea is pretty much the direction the classic solution takes: walk along the curve incrementally, avoid square roots, and use symmetry to fill in the other parts