Skip to content

Add C++ solution for Two Sum - #231

Closed
8Ashwinee wants to merge 1 commit into
Huerte:mainfrom
8Ashwinee:feat/javascript-solution-198
Closed

8Ashwinee wants to merge 1 commit into
Huerte:mainfrom
8Ashwinee:feat/javascript-solution-198

Conversation

@8Ashwinee

Copy link
Copy Markdown
Contributor

Changes

  • Add a C++ implementation of the Two Sum problem.
  • Use unordered_map for efficient lookup.
  • Include sample test cases.

Closes #198

@Huerte

Huerte commented Nov 10, 2026

Copy link
Copy Markdown
Owner

@8Ashwinee Thanks for the contribution! Closing this one since the C++ Two Sum was already merged in #230 . This PR also modifies solutions/javascript/practice1.js, which would overwrite the existing Valid Parentheses solution, so it can’t be merged as is. If you’d like to add a JavaScript Two Sum, please put it in a new file following the practice naming. Appreciate the help!

download (6)

@Huerte Huerte closed this Nov 10, 2026
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.

Be the first! Add a solution in a language this repo doesn't have yet

2 participants