2025年9月5日
摘要: 590. N 叉树的后序遍历 - 力扣(LeetCode) 递归写法: 写法1:标准 DFS + extend 收集结果 class Solution: def postorder(self, root: 'Node') -> List[int]: if not root: return [] re 阅读全文
posted @ 2025-09-05 12:23 axuu 阅读(8) 评论(0) 推荐(0)