Hi guys,
in the solution with 2 additional arrays, right array is enough. The left one can be computed as we go using a single variable to accumulate the left product.
It doesn’t change O(n) space complexity, but saves a bit of space and 4-5 lines.
Regards.