跳至主要內容

二叉搜索树与双向链表


二叉搜索树与双向链表

题目链接

题目描述

刷题思路

代码实现

export function TreeNode(x) {
  this.val = x
  this.left = null
  this.right = null
}

export function Convert(pRootOfTree) {
  console.log(pRootOfTree)
}

一些建议