1. Two Sumhistorical

    LeetCode notes on the Two Sum problem.

  2. Find All Numbers Disappeared in an Arrayhistorical

    LeetCode notes on finding all disappeared numbers in an array.

  3. Big Number Additionhistorical

    Add large numbers represented as strings by scanning from right to left and carrying.

  4. Subarray Sum Equals Khistorical

    LeetCode notes on the Subarray Sum Equals K problem.

  5. Longest Consecutive Sequencehistorical

    LeetCode notes on the Longest Consecutive Sequence problem.

  6. Decode Stringhistorical

    Decode strings in k[encoded_string] form using a stack.

  7. Longest Valid Parentheseshistorical

    Use a stack to mark matched parentheses, then count the longest consecutive valid interval.

  8. Remove Invalid Parentheseshistorical

    Enumerate whether to keep or remove each character, then keep the longest valid-parentheses results.

  9. Generate Parentheseshistorical

    Generate parentheses using full enumeration with a stack, and pruning based on remaining left/right parentheses.

  10. Valid Parentheseshistorical

    Validate a parentheses sequence using a stack or repeated string replacement.