Split Array Into Maximum Number Of Subarrays