Three sum and measurement
Merged