python leetcode刷題 (29):559. N叉樹的最大深度

題目描述: 解題過程: 遞歸能寫出前幾句啦,加油加油! """ # Definition for a Node. class Node: def __init__(self, val, children): self.val = val self.children = children """ class Solution: def maxDepth
相關文章
相關標籤/搜索