root = TreeNode(val) 猜你喜欢:👇🏻 ⭐【Leetcode】创建链表 ⭐【Leetcode】Python 代码本地构造二叉树、链表 ⭐【Leetcode】二叉树展开为列表(递归思想)