Skip to content

Conversation

JLDevOps
Copy link

With testing on leetCode, the function twoSum returned indices that were added by 1 integer. Ex. if the actual result was [1, 2], the method returned [2, 3]. Deleted the i+1 in the if & else statements. This works.

With testing on leetCode, the function twoSum returned indices that were added by 1 integer.  Ex. if the actual result was [1, 2], the method returned [2, 3].  Deleted the i+1 in the if & else statements.  This works.
@JLDevOps
Copy link
Author

Completely forgot this was still here. Happy to see it ready for merge. Is anyone able to merge this PR?

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 this pull request may close these issues.

2 participants