Print All Combinations Leetcode Problem