Sha256: 27c9d623c1b079fe762452a772c6d5205ee0f4a018366c3d0ccf30e013569f55

Contents?: true

Size: 810 Bytes

Versions: 68

Compression:

Stored size: 810 Bytes

Contents

# Pascal's Triangle

Compute Pascal's triangle up to a given number of rows.

In Pascal's Triangle each number is computed by adding the numbers to
the right and left of the current position in the previous row.

```text
    1
   1 1
  1 2 1
 1 3 3 1
1 4 6 4 1
# ... etc
```

Refer to the [Exercism CoffeScript page](http://exercism.io/languages/coffeescript) for getting started with CoffeeScript.

In order to run the test, you can run the test file from the exercise directory:
```bash
jasmine-node --coffee .
```

## Source

Pascal's Triangle at Wolfram Math World [http://mathworld.wolfram.com/PascalsTriangle.html](http://mathworld.wolfram.com/PascalsTriangle.html)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.179 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.178 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.177 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.176 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.175 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.174 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.173 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.172 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.171 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.170 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.169 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.167 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.166 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.165 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.164 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.163 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.162 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.161 tracks/coffeescript/exercises/pascals-triangle/README.md
trackler-2.2.1.160 tracks/coffeescript/exercises/pascals-triangle/README.md