Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1490. Clone N-ary Tree
Given the root of an N-ary tree, produce a deep copy that recreates every node and its list of children while preserving the original tree structure. This requires traversing all nodes (e.g., DFS/BFS) to build new nodes with the same values and child relationships, handling arbitrary branching and a possible null root.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.