0% found this document useful (0 votes)
194 views1 page

My Leetcode Solutions All in One - LeetCode Discuss

This document is a post from LeetCode Discuss that provides solutions to various LeetCode problems in one place. It lists over 20 problems ranging from Easy to Hard difficulty, along with the solutions approaches used to solve each problem such as recursion, two pointers, dynamic programming, backtracking, and more. All code solutions are provided in a Github repository for reference.

Uploaded by

Tonar System
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
194 views1 page

My Leetcode Solutions All in One - LeetCode Discuss

This document is a post from LeetCode Discuss that provides solutions to various LeetCode problems in one place. It lists over 20 problems ranging from Easy to Hard difficulty, along with the solutions approaches used to solve each problem such as recursion, two pointers, dynamic programming, backtracking, and more. All code solutions are provided in a Github repository for reference.

Uploaded by

Tonar System
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 1

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

You might also like