Intel Corporation interview question

detect a circle in a matrix