Whenever you're ready, walk me through how you'd approach this.
Given a graph with a cycle represented as a key-value pair, print the cycle in any order without using extra space.