Practice Interview Questions
| Question | Status |
|---|---|
Given a list of integers, write a function that returns a new list where each element at index i is the product of all the integers in the original list except for the element at index i. You cannot use division to solve this problem.
Example:
For an input list [1, 2, 3, 4], the function should return [24, 12, 8, 6], because:
Constraints:
Given a list of integers, write a function that returns a new list where each element at index i is the product of all the integers in the original list except for the element at index i. You cannot use division to solve this problem.
Example:
For an input list [1, 2, 3, 4], the function should return [24, 12, 8, 6], because:
Constraints: