Re-translate the Japanese version (#1871)

* Retranslate Japanese docs with GPT-5.4

* Retranslate Japanese code with GPT-5.4
This commit is contained in:
Yudong Jin
2026-03-30 07:30:15 +08:00
committed by GitHub
parent fe6443235b
commit d7b2277d2b
1444 changed files with 83312 additions and 8363 deletions
@@ -0,0 +1,26 @@
// File: recursion_test.go
// Created Time: 2023-08-28
// Author: Reanon (793584285@qq.com)
package chapter_computational_complexity
import (
"fmt"
"testing"
)
/* Driver Code */
func TestRecursion(t *testing.T) {
n := 5
res := recur(n)
fmt.Println("\n再帰関数の合計結果 res = ", res)
res = forLoopRecur(n)
fmt.Println("\n反復で再帰をシミュレートした合計結果 res = ", res)
res = tailRecur(n, 0)
fmt.Println("\n末尾再帰関数の合計結果 res = ", res)
res = fib(n)
fmt.Println("\nフィボナッチ数列の第", n, "項は", res)
}