From 3064a7906b0f5acf448a0d167280b512690ce2d2 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Fri, 28 Dec 2018 16:35:54 +0200 Subject: [PATCH] Add links to zh-CN version of Factorial. --- README.zh-CN.md | 2 +- src/algorithms/math/factorial/README.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index d03062271..0f33c608f 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -53,7 +53,7 @@ _Read this in other languages:_ * **数学** * `B` [Bit 操控](src/algorithms/math/bits) - set/get/update/clear 位、乘以/除以二进制位 、变负等 - * `B` [阶乘](src/algorithms/math/factorial) + * `B` [阶乘](src/algorithms/math/factorial/README.zh-CN.md) * `B` [斐波那契数](src/algorithms/math/fibonacci) - `经典` 和 `闭式` 版本 * `B` [素数检测](src/algorithms/math/primality-test) (排除法) * `B` [欧几里得算法](src/algorithms/math/euclidean-algorithm) - 计算最大公约数 (GCD) diff --git a/src/algorithms/math/factorial/README.md b/src/algorithms/math/factorial/README.md index 55c481a2f..bd5df7702 100644 --- a/src/algorithms/math/factorial/README.md +++ b/src/algorithms/math/factorial/README.md @@ -1,5 +1,8 @@ # Factorial +_Read this in other languages:_ +[_简体中文_](README.zh-CN.md), + In mathematics, the factorial of a non-negative integer `n`, denoted by `n!`, is the product of all positive integers less than or equal to `n`. For example: