NumberOfDiscIntersections

https://codility.com/demo/results/demoBBBHNW-6KX/