摘要: 1 class Solution { 2 public Node connect(Node root) { 3 dfs(root); 4 return root; 5 } 6 7 void dfs(Node root){ 8 if(root==null) return; 9 Node left = 阅读全文
posted @ 2022-01-19 17:44 DXYE 阅读(19) 评论(0) 推荐(0) 编辑