Approach hintTry it first, then revealHide
The answer at i is the product of everything to its left times everything to its right. Fill the left products in one pass and multiply in the right products during a reverse pass, without division.
The answer at i is the product of everything to its left times everything to its right. Fill the left products in one pass and multiply in the right products during a reverse pass, without division.