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

(wrapping) overflow doesn't affect the final result.