Leetcode Print All Subarrays Of An Array