The number pyramid (also known as Pascal's triangle) is built like this: the top row is a single 1; each next row is one number longer, has 1 at both ends, and every inner number equals the sum of the two numbers just above it to the left and to the right.
Rows are numbered from 0 at the top. Given level, return the row of the pyramid with that number.
Bonus: can you do it with only O(level) extra memory?