BETLAB interview question

Circle-ellipse problem