Sha256: be1916389c27a7a601d033a4c20548bb3bbde9553767f966559bf9dd104f03c2

Contents?: true

Size: 869 Bytes

Versions: 62

Compression:

Stored size: 869 Bytes

Contents

# Pascals 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
```

## Setup

Go through the setup instructions for TypeScript to
install the necessary dependencies:

http://exercism.io/languages/typescript

## Requirements

Install assignment dependencies:

```bash
$ yarn install
```

## Making the test suite pass

Execute the tests with:

```bash
$ yarn test
```



## 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

62 entries across 62 versions & 1 rubygems

Version Path
trackler-2.2.1.107 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.106 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.105 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.104 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.103 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.102 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.101 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.100 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.99 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.98 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.97 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.96 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.95 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.94 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.93 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.92 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.91 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.90 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.89 tracks/typescript/exercises/pascals-triangle/README.md
trackler-2.2.1.88 tracks/typescript/exercises/pascals-triangle/README.md