Enumerate All Simple Directed Cycles
Company: ByteDance
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: Enumerate distinct simple directed cycles using a canonical representation that handles rotations, opposite directions, and self-loops.
Read the full ByteDance Software Engineer interview experience this question came from