Skip to content

Latest commit

 

History

314 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeProblems

🎓 Here is my practice of tasks on LeetCode

LeetCode Topics

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0008-string-to-integer-atoi
0014-longest-common-prefix
0020-valid-parentheses
0022-generate-parentheses
0049-group-anagrams
0058-length-of-last-word
0071-simplify-path
0076-minimum-window-substring
0125-valid-palindrome
0205-isomorphic-strings
0392-is-subsequence
0443-string-compression
0557-reverse-words-in-a-string-iii
0567-permutation-in-string
0680-valid-palindrome-ii
0768-partition-labels
1547-destination-city
2691-count-vowel-strings-in-ranges
3174-minimum-number-of-changes-to-make-binary-string-beautiful

Trie

0014-longest-common-prefix

Array

0027-remove-element
0033-search-in-rotated-sorted-array
0042-trapping-rain-water
0049-group-anagrams
0056-merge-intervals
0066-plus-one
0088-merge-sorted-array
0135-candy
0136-single-number
0150-evaluate-reverse-polish-notation
0167-two-sum-ii-input-array-is-sorted
0228-summary-ranges
0238-product-of-array-except-self
0283-move-zeroes
0300-longest-increasing-subsequence
0350-intersection-of-two-arrays-ii
0377-combination-sum-iv
0560-subarray-sum-equals-k
0658-find-k-closest-elements
0879-maximize-distance-to-closest-person
1019-squares-of-a-sorted-array
1046-max-consecutive-ones-iii
1392-find-the-difference-of-two-arrays
1547-destination-city
1586-longest-subarray-of-1s-after-deleting-one-element
2352-design-an-atm-machine
2356-largest-combination-with-bitwise-and-greater-than-zero
2691-count-vowel-strings-in-ranges
2766-find-the-prefix-common-array-of-two-arrays

Math

0002-add-two-numbers
0009-palindrome-number
0066-plus-one
0150-evaluate-reverse-polish-notation

Stack

0020-valid-parentheses
0042-trapping-rain-water
0071-simplify-path
0094-binary-tree-inorder-traversal
0150-evaluate-reverse-polish-notation
0155-min-stack
0234-palindrome-linked-list
0341-flatten-nested-list-iterator

Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0236-lowest-common-ancestor-of-a-binary-tree
0341-flatten-nested-list-iterator
0988-flip-equivalent-binary-trees

Depth-First Search

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0236-lowest-common-ancestor-of-a-binary-tree
0341-flatten-nested-list-iterator
0988-flip-equivalent-binary-trees

Binary Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0236-lowest-common-ancestor-of-a-binary-tree
0988-flip-equivalent-binary-trees

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0023-merge-k-sorted-lists
0083-remove-duplicates-from-sorted-list
0206-reverse-linked-list
0234-palindrome-linked-list

Breadth-First Search

0111-minimum-depth-of-binary-tree
0112-path-sum

Dynamic Programming

0005-longest-palindromic-substring
0022-generate-parentheses
0042-trapping-rain-water
0124-binary-tree-maximum-path-sum
0300-longest-increasing-subsequence
0377-combination-sum-iv
0392-is-subsequence
1586-longest-subarray-of-1s-after-deleting-one-element

Sliding Window

0003-longest-substring-without-repeating-characters
0076-minimum-window-substring
0567-permutation-in-string
0658-find-k-closest-elements
1046-max-consecutive-ones-iii
1586-longest-subarray-of-1s-after-deleting-one-element

Two Pointers

0005-longest-palindromic-substring
0027-remove-element
0042-trapping-rain-water
0088-merge-sorted-array
0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted
0234-palindrome-linked-list
0283-move-zeroes
0350-intersection-of-two-arrays-ii
0392-is-subsequence
0443-string-compression
0557-reverse-words-in-a-string-iii
0567-permutation-in-string
0658-find-k-closest-elements
0680-valid-palindrome-ii
0768-partition-labels
1019-squares-of-a-sorted-array

Binary Search

0033-search-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0300-longest-increasing-subsequence
0350-intersection-of-two-arrays-ii
0658-find-k-closest-elements
1046-max-consecutive-ones-iii

Sorting

0049-group-anagrams
0056-merge-intervals
0088-merge-sorted-array
0350-intersection-of-two-arrays-ii
0658-find-k-closest-elements
1019-squares-of-a-sorted-array

Heap (Priority Queue)

0023-merge-k-sorted-lists
0658-find-k-closest-elements

Hash Table

0003-longest-substring-without-repeating-characters
0049-group-anagrams
0076-minimum-window-substring
0205-isomorphic-strings
0350-intersection-of-two-arrays-ii
0560-subarray-sum-equals-k
0567-permutation-in-string
0768-partition-labels
1392-find-the-difference-of-two-arrays
1547-destination-city
2356-largest-combination-with-bitwise-and-greater-than-zero
2766-find-the-prefix-common-array-of-two-arrays

Prefix Sum

0238-product-of-array-except-self
0560-subarray-sum-equals-k
1046-max-consecutive-ones-iii
2691-count-vowel-strings-in-ranges

Binary Search Tree

0098-validate-binary-search-tree

Backtracking

0022-generate-parentheses

Design

0155-min-stack
0341-flatten-nested-list-iterator
0969-number-of-recent-calls
2352-design-an-atm-machine

Monotonic Stack

0042-trapping-rain-water

Greedy

0135-candy
0680-valid-palindrome-ii
0768-partition-labels
2352-design-an-atm-machine

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0206-reverse-linked-list
0234-palindrome-linked-list

Bit Manipulation

0136-single-number
2356-largest-combination-with-bitwise-and-greater-than-zero
2766-find-the-prefix-common-array-of-two-arrays

Counting

2356-largest-combination-with-bitwise-and-greater-than-zero

Divide and Conquer

0023-merge-k-sorted-lists

Merge Sort

0023-merge-k-sorted-lists

Queue

0341-flatten-nested-list-iterator
0969-number-of-recent-calls

Iterator

0341-flatten-nested-list-iterator

Data Stream

0969-number-of-recent-calls

Database

0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0183-customers-who-never-order
0197-rising-temperature
0577-employee-bonus
0584-find-customer-referee
1179-game-play-analysis-i
1877-find-followers-count

About

Collection of my LeetCode solutions.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages