Photon Interview Question

Resume revire, product of array except self