Microquest interview question

Cycle Detection