Leetcode problem

Leetcode problem, build pascal triangle.