Skip to content

Solution for Challenge 1#33

Open
asishjose wants to merge 10 commits intoWeCode-Community-Dev:mainfrom
asishjose:asish_on_blind75
Open

Solution for Challenge 1#33
asishjose wants to merge 10 commits intoWeCode-Community-Dev:mainfrom
asishjose:asish_on_blind75

Conversation

@asishjose
Copy link

Day 1: Two Sum

Solution for the problem where we find two indices in the array nums that add up to a given target. Used a hash map to store the indices and check for the complement of each element.

Time Complexity: O(n)

Space Complexity: O(n)

@asishjose
Copy link
Author

Hi! Here’s my Day 1 solution as part of the challenge. Looking forward to your review

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.

1 participant