Split Array - Recursion

Please provide the solution & logic to this question. I am unable to understand & code it.