Daily challenge for 2025-01-18
18. Pascal's Triangle
Write a function solve that generates the first n rows of Pascal's Triangle.
Example:Input: 3Output: [[1],[1,1],[1,2,1]]
Run this challenge interactively in Python or JavaScript when the app loads.