Skip to content

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Notifications You must be signed in to change notification settings

SpideR1sh1/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0018-4sum
0033-search-in-rotated-sorted-array
0074-search-a-2d-matrix
0081-search-in-rotated-sorted-array-ii
0121-best-time-to-buy-and-sell-stock
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0238-product-of-array-except-self
0271-encode-and-decode-strings
0287-find-the-duplicate-number
0792-binary-search
0907-koko-eating-bananas

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0141-linked-list-cycle
0142-linked-list-cycle-ii
0208-implement-trie-prefix-tree
0217-contains-duplicate
0424-longest-repeating-character-replacement
1987-substrings-of-size-three-with-distinct-characters

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0141-linked-list-cycle
0142-linked-list-cycle-ii
0143-reorder-list
0206-reverse-linked-list

Math

0002-add-two-numbers

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0143-reorder-list
0206-reverse-linked-list

String

0003-longest-substring-without-repeating-characters
0125-valid-palindrome
0208-implement-trie-prefix-tree
0271-encode-and-decode-strings
0344-reverse-string
0424-longest-repeating-character-replacement
0680-valid-palindrome-ii
1987-substrings-of-size-three-with-distinct-characters

Sliding Window

0003-longest-substring-without-repeating-characters
0424-longest-repeating-character-replacement
1987-substrings-of-size-three-with-distinct-characters

Sorting

0015-3sum
0018-4sum
0217-contains-duplicate

Dynamic Programming

0121-best-time-to-buy-and-sell-stock

Two Pointers

0011-container-with-most-water
0015-3sum
0018-4sum
0019-remove-nth-node-from-end-of-list
0125-valid-palindrome
0141-linked-list-cycle
0142-linked-list-cycle-ii
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number
0344-reverse-string
0680-valid-palindrome-ii

Prefix Sum

0238-product-of-array-except-self

Counting

1987-substrings-of-size-three-with-distinct-characters

Binary Search

0033-search-in-rotated-sorted-array
0074-search-a-2d-matrix
0081-search-in-rotated-sorted-array-ii
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number
0792-binary-search
0907-koko-eating-bananas

Greedy

0011-container-with-most-water
0680-valid-palindrome-ii

Matrix

0074-search-a-2d-matrix

Stack

0094-binary-tree-inorder-traversal
0143-reorder-list
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0776-n-ary-tree-postorder-traversal

Bit Manipulation

0287-find-the-duplicate-number

Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0776-n-ary-tree-postorder-traversal
0784-insert-into-a-binary-search-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0776-n-ary-tree-postorder-traversal

Breadth-First Search

0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0098-validate-binary-search-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0543-diameter-of-binary-tree
0572-subtree-of-another-tree
0784-insert-into-a-binary-search-tree

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

Binary Search Tree

0098-validate-binary-search-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0784-insert-into-a-binary-search-tree

Design

0208-implement-trie-prefix-tree
0271-encode-and-decode-strings

Trie

0208-implement-trie-prefix-tree

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published