Pregunta de entrevista de Salesforce

Algorithm questions: product of array except self