Circles interview question

Data structure questions