3 ms·
I guess you can also prefill result[i]=i and then apply fizzbuzz mask to avoid addition altogether
by jepcommenter 6y ago
I guess you can also prefill result[i]=i and then apply fizzbuzz mask to avoid addition altogether
- jepcommenter 6y agoOh, wait, the original code receives input array while above loops from zero to n which is something else.