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