Tableau Software interview question

Array almost product

Interview Answer

Anonymous

22 Sept 2017

I was allowed to multiply, so I multiplied all values in the array and divided by the value at specific index. I accounted for zeroes in the array as well.

1