Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find pairs that sum to x #19

Open
songz opened this issue Apr 23, 2017 · 0 comments
Open

find pairs that sum to x #19

songz opened this issue Apr 23, 2017 · 0 comments
Labels

Comments

@songz
Copy link
Collaborator

songz commented Apr 23, 2017

return array of pairs from an input array of numbers that adds up to second input x. Each number can be used only once.

i: [1,2,3,4,5], 6
o: [[1,5], [2,4]]

bettychow added a commit to bettychow/algorithms that referenced this issue Jun 2, 2017
bettychow added a commit to bettychow/algorithms that referenced this issue Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants