Print All Subarrays Of A Given Array Leetcode