Talk:Two sum

From Rosetta Code
Revision as of 15:40, 6 October 2016 by rosettacode>FreeTom (Deleted resolved question)

Some ambiguities

What if there is more then one way to get the desired sum? Should it return all of the pairs or only a pair? Are we to assume the integers in the array are unique? --Thundergnat (talk) 22:21, 4 October 2016 (UTC)

What if there is no solution ? E.g. when all numbers in the list are even, and the desired sum is odd. -- Hajo (talk) 13:53, 5 October 2016 (UTC)