Calculate the sum of the values at the left and right pointers. If the sum is equal to the target, return their 1-based indices. If the sum is less than the target, move the left pointer to the right.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results