NVIDIA interview question

Construct a parallel efficient accumulator