Sorting
Spec
FAQ
Project
Submit
Expand All
Collapse All
Three sum
Can I ignore integer overflow?
Yes. Don't worry about whether
a[i] + a[j] + a[k]
overflows an
int
.