Skip to content

2026-06-011 [Retry][15] 3Sum (Medium) #7

Description

@zerexei

Date (attemp history: use title to fill)

2026-06-08 [Retry][15] 3Sum (Medium) - solved w/out hint but over complicate due to return index assumption

Retry Date

2026-06-011

Difficulty

Medium

Pattern

Two Pointers + Sorting

Core Idea

Sort the array first. Fix one number at a time, then use two pointers (left and right) to find the remaining two numbers whose sum equals the negative of the fixed number.

Repo Link

https://github.com/zerexei/software-engineering/blob/main/datastructure-and-algorithm/TwoPointer/3Tvn.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions