Two sum: Difference between revisions
Content deleted Content added
→AppleScript :: Functional: Updated output for updated input list. |
m →{{header|AppleScript}}: Idiomatic version: restored comment indicator character. |
||
Line 271:
end twoSum
-- Test code:
twoSum({0, 2, 11, 19, 90}, 21) -- Task-specified list.
twoSum({0, 3, 11, 19, 90}, 21) -- No matches.
|