Microquest Interview Question

Cycle detection in tree data structure