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

Day 339 #676

Closed
vaskoz opened this issue Jul 27, 2019 · 1 comment · Fixed by #677
Closed

Day 339 #676

vaskoz opened this issue Jul 27, 2019 · 1 comment · Fixed by #677
Assignees

Comments

@vaskoz
Copy link
Owner

vaskoz commented Jul 27, 2019

Good morning! Here's your coding interview problem for today.

This problem was asked by Microsoft.

Given an array of numbers and a number k, determine if there are three entries in the array which add up to the specified number k. For example, given [20, 303, 3, 4, 25] and k = 49, return true as 20 + 4 + 25 = 49.

@vaskoz vaskoz self-assigned this Jul 27, 2019
@vaskoz
Copy link
Owner Author

vaskoz commented Jul 27, 2019

Appears to be exactly this classic problem: https://en.wikipedia.org/wiki/3SUM

@vaskoz vaskoz mentioned this issue Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant