SAS interview question

How to give an algorithm for circle