< Back

Lecture 33 - The Final Countdown


Esoteric "Today"


Activity?

  1. Write a function pascal :: Int -> [[Int]], which takes a parameter N and returns the first N rows of Pascal's Triangle. Each value in Pascal's triangle can be computed by summing the two "adjacent" values in the row above it.