1. Longest Common Substringhistorical

    LeetCode notes on the Longest Common Substring problem.

  2. Longest Common Subsequencehistorical

    LeetCode notes on the Longest Common Subsequence problem.

  3. Longest Substring Without Repeating Charactershistorical

    LeetCode notes on the longest substring without repeating characters.

  4. Edit Distancehistorical

    LeetCode notes on the Edit Distance problem.

  5. Word Breakhistorical

    Word Break using DFS and DFS with memoization.

  6. Word Searchhistorical

    Word search in a two-dimensional grid using DFS.

  7. Longest Common Substringhistorical

    A note for the longest common substring problem.

  8. Longest Common Subsequencehistorical

    Longest common subsequence using recursion, DFS with memoization, and dynamic programming.

  9. Letter Combinations of a Phone Numberhistorical

    Letter combinations of a phone number using DFS to enumerate combinations.

  10. Edit Distancehistorical

    Edit distance using recursion and recursion with memoization.

  11. Group Anagramshistorical

    Group anagrams using a brute-force method and hashing.

  12. Find All Anagrams in a Stringhistorical

    Find all anagrams in a string using brute force and a sliding window with counts.

  13. Longest Common Prefixhistorical

    Longest common prefix using a brute-force approach, with a trie idea noted.

  14. Check Palindromehistorical

    Check whether a string is a palindrome using reversal and two pointers.

  15. Reverse Stringhistorical

    A Go implementation for reversing a string.

  16. Palindromic Substringshistorical

    Count palindromic substrings using brute force and center expansion.

  17. Longest Palindromic Substringhistorical

    Longest palindromic substring using brute force and center expansion.

  18. Big Number Additionhistorical

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

  19. Decode Stringhistorical

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

  20. Longest Valid Parentheseshistorical

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

  21. Remove Invalid Parentheseshistorical

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

  22. Generate Parentheseshistorical

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

  23. Valid Parentheseshistorical

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

  24. Regular Expression Matchinghistorical

    Regular expression matching with support for . and *.

  25. Longest Substring Without Repeating Charactershistorical

    Find the longest substring without repetition using a brute-force set approach and a sliding window.