Salesforce interview question

Algorithm questions: product of array except self