Python Numpy Split Array In Half Javascript Interview Coding