Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jepcommenter
· 5y ago · 0 comments
I guess you can also prefill result[i]=i and then apply fizzbuzz mask to avoid addition altogether
Comments
[–]
jepcommenter
OP
5y ago
Oh, wait, the original code receives input array while above loops from zero to n which is something else.