1/1/24, 8:04 PM My Leetcode Solutions All In One - LeetCode Discuss
Explore Problems Contest Discuss Interview Store
Back My Leetcode Solutions All In One
longluo 6053 Last Edit: November 29, 2022 8:39 AM 37.4K VIEWS
143 By Frank Luo
My Leetcode Solutions are here, and this post will update frequently.
All code are in Github.
Leetcode Problems Difficulty Solutions
2. Add Two Numbers Easy 2 Approaches: Iteration and Recursion
3. Longest Substring Without Repeating
Easy Two Pointers: Sliding Window with HashS
Characters
11. Container With Most Water Medium 2 Approaches: Brute Force and Two Point
17. Letter Combinations of a Phone
Medium 4 Approaches: BF 4 Loops, Backtracking,
Number
19. Remove Nth Node From End of List Medium 3 Approaches: Brute Force, Stack, Slow Fa
21. Merge Two Sorted Lists Easy The Recursive Algorithm with Detailed Im
5 Approaches: BF use Long, BF use Int, Bi
29. Divide Two Integers Medium
use Int and Recursion
31. Next Permutation Medium Two Pointers Solution with Detailed Expla
34. Find First and Last Position of Element
Medium Binary Search Twice
in Sorted Array
36. Valid Sudoku Medium 2 Approaches: HashSet and Array
39. Combination Sum Medium Easy Backtracking Approach: Deduplicati
42. Trapping Rain Water Hard From Brute Force to DP then Two Pointer
43. Multiply Strings Medium Math Geek: Fast Fourier Transform and N
47. Permutations II Medium Permutation Problems: Backtracking and
50. Pow(x, n) Medium Fast Power Algorithm: Binary Exponentiat
55. Jump Game Medium Leetcode Jump Game Problems Series
62. Unique Paths Medium 3 Approaches: DP, Recursion, Math
4 Approaches: Brute Force, Exponent, Bin
69 S t( ) M di
https://leetcode.com/discuss/general-discussion/1868912/My-Leetcode-Solutions-All-In-One 1/1