Jump to content

Two sum: Difference between revisions

m
no edit summary
(+Stata)
mNo edit summary
Line 2:
 
;Task
Given a sorted array of single positive integers, is it possible to find a pair of integers from that array that sum up to a given sum? If so, return indices of the two integers or an empty array if not. The solution is not necessarily unique.
 
 
1,336

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.