Y
Hacker News
new
|
ask
|
show
|
jobs
by
ikurei
357 days ago
I think they meant that XOR avoids the overflow risk, whereas doing the sum of the array to figure out which number could cause an overflow.
1 comments
jonathrg
357 days ago
(wrapping) overflow doesn't affect the final result.
link