Pattern Program In Leetcode Two Sigma