mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-26 05:33:40 +08:00
Correct the Kotlin algorithm_A name in translated snippets (#2024)
Co-authored-by: 江圳宇 <304372743+Mar-isa-web@users.noreply.github.com>
This commit is contained in:
@@ -376,7 +376,7 @@ void algorithm_C(int n) {
|
||||
|
||||
```kotlin title=""
|
||||
// Algorithm A: constant time complexity
|
||||
fun algoritm_A(n: Int) {
|
||||
fun algorithm_A(n: Int) {
|
||||
println(0)
|
||||
}
|
||||
// Algorithm B: linear time complexity
|
||||
|
||||
@@ -376,7 +376,7 @@ void algorithm_C(int n) {
|
||||
|
||||
```kotlin title=""
|
||||
// アルゴリズム A の時間計算量:定数のオーダー
|
||||
fun algoritm_A(n: Int) {
|
||||
fun algorithm_A(n: Int) {
|
||||
println(0)
|
||||
}
|
||||
// アルゴリズム B の時間計算量:線形のオーダー
|
||||
|
||||
@@ -376,7 +376,7 @@ void algorithm_C(int n) {
|
||||
|
||||
```kotlin title=""
|
||||
// 알고리즘 A의 시간 복잡도: 상수 시간
|
||||
fun algoritm_A(n: Int) {
|
||||
fun algorithm_A(n: Int) {
|
||||
println(0)
|
||||
}
|
||||
// 알고리즘 B의 시간 복잡도: 선형 시간
|
||||
|
||||
@@ -376,7 +376,7 @@ void algorithm_C(int n) {
|
||||
|
||||
```kotlin title=""
|
||||
// Временная сложность алгоритма A: постоянная
|
||||
fun algoritm_A(n: Int) {
|
||||
fun algorithm_A(n: Int) {
|
||||
println(0)
|
||||
}
|
||||
// Временная сложность алгоритма B: линейная
|
||||
|
||||
@@ -376,7 +376,7 @@ void algorithm_C(int n) {
|
||||
|
||||
```kotlin title=""
|
||||
// 演算法 A 的時間複雜度:常數階
|
||||
fun algoritm_A(n: Int) {
|
||||
fun algorithm_A(n: Int) {
|
||||
println(0)
|
||||
}
|
||||
// 演算法 B 的時間複雜度:線性階
|
||||
|
||||
Reference in New Issue
Block a user