This commit is contained in:
krahets
2026-08-18 03:09:22 +08:00
parent d8c34d88b5
commit ba5285949b
108 changed files with 237 additions and 229 deletions
+2 -2
View File
@@ -185,8 +185,8 @@ A <u>binary tree</u> is a non-linear data structure that models the hierarchical
```kotlin title=""
/* Binary tree node */
class TreeNode(val _val: Int) { // Node value
val left: TreeNode? = null // Reference to left child node
val right: TreeNode? = null // Reference to right child node
var left: TreeNode? = null // Reference to left child node
var right: TreeNode? = null // Reference to right child node
}
```