my attempt at solving leetcode 238: product of array except self [SOLVED]

Published --