Complete cycle detection challenge