Clone Graph (DFS/HashMap)
1-indexed nodes. [[2,4]] means Node 1 connects to 2 and 4.
Original (Left)
Cloned (Right)
Current Process
Nodes Created
0
HashMap Entries
0
當前步驟
Ready.
步驟 0 / 0
邏輯解釋
C++ Code