Dsa
Arrays
Easy
Array Product Exclusion
Given an array of integers, return a new array where each element at index 'i' is the product of all the numbers in the original array except the one at 'i'. Do not use division in your solution.
Example:
Input:
5
1 2 3 4 5
Output:
120 60 40 30 24
Key concepts
arraysproductexclusion
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now