mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-28 10:57:15 +00:00
build
This commit is contained in:
@@ -185,8 +185,8 @@ comments: true
|
||||
```kotlin title=""
|
||||
/* 二分木ノードクラス */
|
||||
class TreeNode(val _val: Int) { // ノード値
|
||||
val left: TreeNode? = null // 左子ノード参照
|
||||
val right: TreeNode? = null // 右子ノード参照
|
||||
var left: TreeNode? = null // 左子ノード参照
|
||||
var right: TreeNode? = null // 右子ノード参照
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user