LeetCode: Pascal's Triangle II

Approach 1: O(k) space