Detect cycle in a directed graph – Coding Problem | Skillron