Skip to content

Use sorted two pointers to solve 4Sum - #287

Merged
Huerte merged 1 commit into
Huerte:mainfrom
yinbowen-dc:issue-fixes/20261117-283
Nov 17, 2026
Merged

Huerte merged 1 commit into
Huerte:mainfrom
yinbowen-dc:issue-fixes/20261117-283

Conversation

@yinbowen-dc

Copy link
Copy Markdown
Contributor

Closes #283.

Use sorted two pointers to solve 4Sum.

Verification

The problem examples, 800 deterministic brute-force comparisons, and a 200-element duplicate-heavy case passed.

AI assistance was used to prepare and verify this contribution.

@Huerte
Huerte merged commit 3c77177 into Huerte:main Nov 17, 2026
1 check passed
@Huerte

Huerte commented Nov 17, 2026

Copy link
Copy Markdown
Owner

@yinbowen-dc Hi there! Thanks for this solution contribution in the repo. Appreciated it a lot 🙌

download (6)

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.

Fix and complete the 4Sum solution (practice224.py)

2 participants