/
    open pairing room

    Pair on Two Sum

    A clean warm-up for hashing, trade-offs, and explaining an approach out loud. Compare the brute-force and hash-map paths, then write down the invariant before coding.

    TypeScript

    Pairing access

    Meet after you match.

    The call opens after the room owner accepts your request. It keeps every session small, intentional, and focused on the brief.

    Video room waiting

    Room brief

    Read this before you enter the session.

    The owner has not added preparation notes yet.

    Shared problem brief
    LeetCode

    Two Sum

    A clean warm-up for hashing, trade-offs, and explaining an approach out loud.

    Run on LeetCode Submit

    Jam plan

    Focus areas

    Arrays
    Hash Map

    Pairing capacity

    1 of 2 places confirmed

    Want to help?

    Sign in, then send the owner a focused request.

    Sign in to request access

    Compare the brute-force and hash-map paths, then write down the invariant before coding.

    Easy
    Arrays
    Hash Map

    Problem statement

    Given an array of integers nums and an integer target, return the indices of the two numbers whose sum is target. You may assume exactly one solution exists, and you may not use the same element twice.

    Constraints

    • • 2 ≤ nums.length ≤ 10⁴
    • • -10⁹ ≤ nums[i], target ≤ 10⁹
    • • Exactly one valid answer exists.

    Examples

    Input: nums = [2, 7, 11, 15], target = 9

    Output: [0, 1]

    nums[0] + nums[1] equals 9.

    Run and Submit open the official LeetCode page, where your own platform account handles execution and submission.

    Keep this brief open while you talk, sketch, screen share, and ship.