3SUM problem (faster impl)