题意: 方法: 中序遍历 思路: 二叉搜索树的中序遍历是有序的。 因此,我们对二叉搜索树中序遍历,并将结果存入一个双向链表中。 class Solution { public: TreeNode *head,*p;//新建双向链表 int&n...