Skip to content

willie82486/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Topics

Two Pointers

Easy

Medium

Hard

Sliding Window

Easy

  1. (643) Maximum Average Subarray I
    https://leetcode.com/problems/maximum-average-subarray-i/description/

Medium

Hard

Array / String

Easy

  1. (1) Two Sum
    https://leetcode.com/problems/two-sum/description/

  2. (1768) Merge Strings Alternately
    https://leetcode.com/problems/merge-strings-alternately/description/

  3. (1071) Greatest Common Divisor of Strings
    https://leetcode.com/problems/greatest-common-divisor-of-strings/description/

  4. (1431) Kids With the Greatest Number of Candies
    https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/description/

  5. (605) Can Place Flowers
    https://leetcode.com/problems/can-place-flowers/description/

  6. (3402) Minimum Operations to Make Columns Strictly Increasing
    https://leetcode.com/problems/minimum-operations-to-make-columns-strictly-increasing/description/

  7. (1422) Maximum Score After Splitting a String
    https://leetcode.com/problems/maximum-score-after-splitting-a-string/description/

  8. (1427) Perform String Shifts
    https://leetcode.com/problems/perform-string-shifts/description/

  9. (345) Reverse Vowels of a String
    https://leetcode.com/problems/reverse-vowels-of-a-string/description/

Medium

Hard

Prefix

Easy

Medium

  1. (2559)Count Vowel Strings in Ranges
    https://leetcode.com/problems/count-vowel-strings-in-ranges/description/

  2. (2381) Shifting Letters II
    https://leetcode.com/problems/shifting-letters-ii/description/

  3. (1769) Minimum Number of Operations to Move All Balls to Each Box
    https://leetcode.com/problems/minimum-number-of-operations-to-move-all-balls-to-each-box/description/

Hard

Stack

Easy

Medium

Hard

Queue

Easy

Medium

Hard

Linked List

Easy

Medium

Hard

Hash Map / Set

Easy

  1. (2206) Divide Array Into Equal Pairs
    https://leetcode.com/problems/divide-array-into-equal-pairs/description/

Medium

  1. (1930) Unique Length-3 Palindromic Subsequences
    https://leetcode.com/problems/unique-length-3-palindromic-subsequences/description/

Hard

Monotonic Stack

Easy

Medium

Hard

Trie

Easy

  1. (1408) String Matching in an Array
    https://leetcode.com/problems/string-matching-in-an-array/description/

  2. (3042) Count Prefix and Suffix Pairs I
    https://leetcode.com/problems/count-prefix-and-suffix-pairs-i/description/

  3. (2185) Counting Words With a Given Prefix
    https://leetcode.com/problems/counting-words-with-a-given-prefix/description/

Medium

Hard

Binary Tree - DFS

Easy

  1. (104) Maximum Depth of Binary Tree
    https://leetcode.com/problems/maximum-depth-of-binary-tree/description/
  2. (872) Leaf-Similar Trees
    https://leetcode.com/problems/leaf-similar-trees/description/

Medium

  1. (437) Path Sum III
    https://leetcode.com/problems/path-sum-iii/description/
  2. (1372) Longest ZigZag Path in a Binary Tree
    https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/description/

Hard

Binary Tree - BFS

Easy

  1. (100) Same Tree
    https://leetcode.com/problems/same-tree/description/

Medium

  1. (199) Binary Tree Right Side View
    https://leetcode.com/problems/binary-tree-right-side-view/description/

Hard

Graphs - DFS

Easy

Medium

Hard

Graphs - BFS

Easy

  1. (101) Symmetric Tree
    https://leetcode.com/problems/symmetric-tree/description/

Medium

  1. (1926) Nearest Exit from Entrance in Maze
    https://leetcode.com/problems/nearest-exit-from-entrance-in-maze/description/
  2. (994) Rotting Oranges
    https://leetcode.com/problems/rotting-oranges/description/

Hard

Binary Search

Easy

  1. (374) Guess Number Higher or Lower 2300. Successful Pairs of Spells and Potions
    https://leetcode.com/problems/guess-number-higher-or-lower/description/

Medium

  1. (2300) Successful Pairs of Spells and Potions
    https://leetcode.com/problems/successful-pairs-of-spells-and-potions/description
  2. (162) Find Peak Element
    https://leetcode.com/problems/find-peak-element/description/
  3. (875) Koko Eating Bananas
    https://leetcode.com/problems/koko-eating-bananas/description/

Hard

Binary Search Tree

Easy

Medium

Hard

Backtracking

Easy

Medium

Hard

DP - 1D

Easy

Medium

Hard

DP - Multidimensional

Easy

Medium

Hard

  1. (689) Maximum Sum of 3 Non-Overlapping Subarrays
    https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays/description/

  2. (1639) Number of Ways to Form a Target String Given a Dictionary
    https://leetcode.com/problems/number-of-ways-to-form-a-target-string-given-a-dictionary/description/

Bit Manipulation

Easy

Medium

Hard

Intervals

Easy

Medium

Hard

Advanced Algorithm/Data structure

Union Find

Easy

Medium

Hard

Binary Index Tree

Easy

Medium

Hard

KMP Algorithm

Easy

  1. (1408) String Matching in an Array
    https://leetcode.com/problems/string-matching-in-an-array/description/

Medium

Hard

Longest Prefix Suffix

Easy

  1. (1408) String Matching in an Array
    https://leetcode.com/problems/string-matching-in-an-array/description/

Medium

Hard

Suffix Trie

Easy

  1. (1408) String Matching in an Array
    https://leetcode.com/problems/string-matching-in-an-array/description/

Medium

Hard

Floyd's Cycle-Finding Algorithm

Easy

  1. (202) Happy Number
    https://leetcode.com/problems/happy-number/description/

Medium

Hard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages