思路如下图: /* public class TreeLinkNode { int val; TreeLinkNode left = null; //指向左 TreeLinkNode right = null;//指向右 TreeLinkNode next = null;//指向父亲 TreeLinkNode(int val) { this.val = val; } } */ public class Solution { public TreeLinkNode GetNext(TreeLinkNode pNode) ...