NeetCode #409LC-1490MediumTreesNC Algo100
← Back to All Problems

#409 · #1490 · Clone N-ary Tree(克隆 N 叉树)

📌 Problem Statement & Constraints

You are given a reference to an N-ary tree. Return a deep copy of the tree. Constraints: the number of nodes is in [0, 10^4], 0 <= Node.val <= 10^4, the tree depth is at most 1000.
🔒

Sign In to Unlock Full Solutions for All 973 Problems

Sign in to access step-by-step logic, benchmark Python3 code, complexity breakdown, and offline export!