Oracle Interview Question

Cycle detection in a graph