Returns the pascal triangle in a 2D list . This snippet computes rows translating the 'visual' method taught at school into Lists and the usage of map2 function. It takes almost 5 seconds to compute 5000 rows.
20 people like thisPosted: 13 years ago by Horacio NuĂ±ez
Creates a jagged 2d list of Pascal's Triangle.
2 people like thisPosted: 4 years ago by Kayden Tebau