Fractal Interview Question

Numpy and Pandas Array Problems