mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-18 04:27:13 +00:00
Prepare 1.1.0 release (#1274)
* Update bucket_sort.c * Fix the comments in quick_sort.c * Update the announce badge * Sync zh and zh-hant versions * Update contributors list. * Sync zh and zh-hant versions. * Sync zh and zh-hant versions. * Update the contributors list * Update the version number
This commit is contained in:
@@ -42,7 +42,7 @@ fun postOrder(root: TreeNode?) {
|
||||
/* Driver Code */
|
||||
fun main() {
|
||||
/* 初始化二元樹 */
|
||||
// 這裡藉助了一個從陣列直接生成二元樹的函式
|
||||
// 這裡藉助了一個從串列直接生成二元樹的函式
|
||||
val root = TreeNode.listToTree(mutableListOf(1, 2, 3, 4, 5, 6, 7))
|
||||
println("\n初始化二元樹\n")
|
||||
printTree(root)
|
||||
|
||||
Reference in New Issue
Block a user