Skip to content

feat(python): add Two Sum solution (LeetCode #1) - #565

Closed
GouravRusiya30 wants to merge 2 commits into
masterfrom
test/add-validate-pr-script
Closed

GouravRusiya30 wants to merge 2 commits into
masterfrom
test/add-validate-pr-script

Conversation

@GouravRusiya30

@GouravRusiya30 GouravRusiya30 commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Description

Summary Add a working solution for the LeetCode problem "Two Sum".

LeetCode problem https://leetcode.com/problems/two-sum/

What I changed

Added a solution file under python/Two_Sum/solution.py
Checklist

PR title follows the format
PR description includes the LeetCode problem URL
The change is limited to a single solution
Relevant files added in the language directory
Notes for reviewers This is a minimal implementation of Two Sum for CI validation/testing.

Put check marks:

Have you made changes in README file ?

  • Added problem & solution under correct topic.
  • Specified Space & Time complexity.
  • Specified difficulty level, tag & Note(if any).

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Test A
  • Test B

Make sure all below guidelines are followed else PR will get Reject:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code so that it is easy to understand
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Implement Two Sum solution with a test case.
@GouravRusiya30 GouravRusiya30 changed the title chore(ci): add placeholder validate_pr script, PR template, and chang… feat(python): add Two Sum solution (LeetCode #1) Oct 18, 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.

1 participant