add: 验证二叉搜索树
This commit is contained in:
7
test/tree/TreeNode.js
Normal file
7
test/tree/TreeNode.js
Normal file
@ -0,0 +1,7 @@
|
||||
export default class TreeNode {
|
||||
constructor (val) {
|
||||
this.val = val
|
||||
this.left = null
|
||||
this.right = null
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user