Split Numpy Array Based Interview Question