chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -1,32 +1,40 @@
---
id: 5900f37b1000cf542c50fe8e
title: 问题15格子路径
title: 'Problem 15: Lattice paths'
challengeType: 5
videoUrl: ''
forumTopicId: 301780
dashedName: problem-15-lattice-paths
---
# --description--
从2×2网格的左上角开始只能向右和向下移动右下角有6条路线。 ![6 2乘2网格的图表显示了右下角的所有路线](https://cdn-media-1.freecodecamp.org/imgr/1Atixoj.gif)
Starting in the top left corner of a 2×2 grid, and only being able to move to the right and down, there are exactly 6 routes to the bottom right corner.
通过给定的`gridSize`有多少这样的路由?
<img class="img-responsive center-block" alt="a diagram of 6 2 by 2 grids showing all the routes to the bottom right corner" src="https://cdn-media-1.freecodecamp.org/project-euler/1Atixoj.gif" style="background-color: white; padding: 10px;" />
How many such routes are there through a given `gridSize`?
# --hints--
`latticePaths(4)`应该返回70。
`latticePaths(4)` should return a number.
```js
assert(typeof latticePaths(4) === 'number');
```
`latticePaths(4)` should return 70.
```js
assert.strictEqual(latticePaths(4), 70);
```
`latticePaths(9)`应该返回48620
`latticePaths(9)` should return 48620.
```js
assert.strictEqual(latticePaths(9), 48620);
```
`latticePaths(20)`应该返回137846528820
`latticePaths(20)` should return 137846528820.
```js
assert.strictEqual(latticePaths(20), 137846528820);