Intersecting Chords In A Circle Leetcode