mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08: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:
@ -26,6 +26,7 @@ fun forLoopRecur(n: Int): Int {
|
||||
var res = 0
|
||||
// 遞: 遞迴呼叫
|
||||
for (i in n downTo 0) {
|
||||
// 透過“入堆疊操作”模擬“遞”
|
||||
stack.push(i)
|
||||
}
|
||||
// 迴: 返回結果
|
||||
|
||||
Reference in New Issue
Block a user