K Stacks In An Array Leetcode