19 people like it.
Like the snippet!
This code sample generates Pascal's triangle as jagged 2D list (list of lists).
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
|
| Link: | http://fssnip.net/23 |
| Posted: | 14 years ago |
| Author: | Dmitry Soshnikov |
| Tags: | lists , jagged array , algorithms , learning f# |