Skip to content

Nguyen Anh#1

Open
nguyenanh-cs wants to merge 1 commit intonguyenson2012:mainfrom
nguyenanh-cs:patch-1
Open

Nguyen Anh#1
nguyenanh-cs wants to merge 1 commit intonguyenson2012:mainfrom
nguyenanh-cs:patch-1

Conversation

@nguyenanh-cs
Copy link
Copy Markdown

Two_Sum.txt

Description: Loop through all elements of the array and find two elements whose sum equals to the target number.

Time complexity: O(n^2)
Space complexity: O(n)

@nguyenanh-cs nguyenanh-cs changed the title Two Sum Nguyen Anh Sep 23, 2024
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