Number Of Ways To Split Array Leetcode