Skip to content
eoxkxidPublic

About

LeetCode solutions and algorithm notes.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

523 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Topics

Array

0011-container-with-most-water
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0046-permutations
0048-rotate-image
0049-group-anagrams
0053-maximum-subarray
0054-spiral-matrix
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0078-subsets
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0128-longest-consecutive-sequence
0136-single-number
0152-maximum-product-subarray
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0215-kth-largest-element-in-an-array
0219-contains-duplicate-ii
0238-product-of-array-except-self
0283-move-zeroes
0303-range-sum-query-immutable
0525-contiguous-array
0560-subarray-sum-equals-k
0692-top-k-frequent-words
0706-design-hashmap
0739-daily-temperatures
0875-koko-eating-bananas

Two Pointers

0011-container-with-most-water
0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0061-rotate-list
0075-sort-colors
0125-valid-palindrome
0142-linked-list-cycle-ii
0148-sort-list
0151-reverse-words-in-a-string
0160-intersection-of-two-linked-lists
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0283-move-zeroes
0392-is-subsequence
0567-permutation-in-string
0876-middle-of-the-linked-list

Hash Table

0003-longest-substring-without-repeating-characters
0049-group-anagrams
0073-set-matrix-zeroes
0128-longest-consecutive-sequence
0142-linked-list-cycle-ii
0160-intersection-of-two-linked-lists
0169-majority-element
0205-isomorphic-strings
0219-contains-duplicate-ii
0438-find-all-anagrams-in-a-string
0525-contiguous-array
0535-encode-and-decode-tinyurl
0560-subarray-sum-equals-k
0567-permutation-in-string
0692-top-k-frequent-words
0706-design-hashmap

Divide and Conquer

0053-maximum-subarray
0109-convert-sorted-list-to-binary-search-tree
0148-sort-list
0169-majority-element
0191-number-of-1-bits
0215-kth-largest-element-in-an-array

Sorting

0049-group-anagrams
0075-sort-colors
0148-sort-list
0169-majority-element
0215-kth-largest-element-in-an-array
0692-top-k-frequent-words

Counting

0169-majority-element
0692-top-k-frequent-words

Dynamic Programming

0022-generate-parentheses
0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0131-palindrome-partitioning
0152-maximum-product-subarray
0338-counting-bits
0392-is-subsequence

String

0003-longest-substring-without-repeating-characters
0014-longest-common-prefix
0020-valid-parentheses
0022-generate-parentheses
0049-group-anagrams
0125-valid-palindrome
0131-palindrome-partitioning
0151-reverse-words-in-a-string
0205-isomorphic-strings
0316-remove-duplicate-letters
0392-is-subsequence
0394-decode-string
0438-find-all-anagrams-in-a-string
0535-encode-and-decode-tinyurl
0567-permutation-in-string
0692-top-k-frequent-words

Trie

0014-longest-common-prefix
0692-top-k-frequent-words

Bit Manipulation

0078-subsets
0136-single-number
0191-number-of-1-bits
0338-counting-bits

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0061-rotate-list
0109-convert-sorted-list-to-binary-search-tree
0142-linked-list-cycle-ii
0148-sort-list
0160-intersection-of-two-linked-lists
0206-reverse-linked-list
0706-design-hashmap
0876-middle-of-the-linked-list

Design

0155-min-stack
0303-range-sum-query-immutable
0535-encode-and-decode-tinyurl
0706-design-hashmap

Hash Function

0535-encode-and-decode-tinyurl
0706-design-hashmap

Math

0002-add-two-numbers
0048-rotate-image
0189-rotate-array

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable
0525-contiguous-array
0560-subarray-sum-equals-k

Greedy

0011-container-with-most-water
0122-best-time-to-buy-and-sell-stock-ii
0316-remove-duplicate-letters

Sliding Window

0003-longest-substring-without-repeating-characters
0219-contains-duplicate-ii
0438-find-all-anagrams-in-a-string
0567-permutation-in-string

Union-Find

0128-longest-consecutive-sequence

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0074-search-a-2d-matrix
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0875-koko-eating-bananas

Matrix

0048-rotate-image
0054-spiral-matrix
0073-set-matrix-zeroes
0074-search-a-2d-matrix

Simulation

0054-spiral-matrix

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0206-reverse-linked-list
0394-decode-string

Stack

0020-valid-parentheses
0155-min-stack
0316-remove-duplicate-letters
0394-decode-string
0739-daily-temperatures

Monotonic Stack

0316-remove-duplicate-letters
0739-daily-temperatures

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0692-top-k-frequent-words

Bucket Sort

0692-top-k-frequent-words

Tree

0109-convert-sorted-list-to-binary-search-tree

Binary Search Tree

0109-convert-sorted-list-to-binary-search-tree

Binary Tree

0109-convert-sorted-list-to-binary-search-tree

Merge Sort

0148-sort-list

Quicksort

0075-sort-colors

Bubble Sort

0075-sort-colors

Quickselect

0215-kth-largest-element-in-an-array

Backtracking

0022-generate-parentheses
0046-permutations
0078-subsets
0131-palindrome-partitioning

Bracket Sequences

0022-generate-parentheses

About

LeetCode solutions and algorithm notes.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages