Pascal’s Triangle
-
[LeetCode/Python] 6/21 Pascal’s Triangle 문제 풀이프로그래밍/LeetCode 2021. 6. 22. 23:14
https://leetcode.com/problems/pascals-triangle/ Pascal's Triangle - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 1. 문제 Summary numRows가 주어졌을 때, Pascal Triangle이 배열 형식으로 출력되도록 하세요. Input : numRows = 5 Output : [[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]] 시각적인 설명은 위의 사이트에 잘 나와있다. 2. ..