Circles interview question

Basic algo questions