Skip to content

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

Notifications You must be signed in to change notification settings

OmprakashReddy2004/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 v2

Tree

0098-validate-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0236-lowest-common-ancestor-of-a-binary-tree
0450-delete-node-in-a-bst
0617-merge-two-binary-trees
0653-two-sum-iv-input-is-a-bst
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree

Depth-First Search

0098-validate-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0236-lowest-common-ancestor-of-a-binary-tree
0547-number-of-provinces
0617-merge-two-binary-trees
0653-two-sum-iv-input-is-a-bst

Binary Tree

0098-validate-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0236-lowest-common-ancestor-of-a-binary-tree
0450-delete-node-in-a-bst
0617-merge-two-binary-trees
0653-two-sum-iv-input-is-a-bst
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree

Breadth-First Search

0547-number-of-provinces
0617-merge-two-binary-trees
0653-two-sum-iv-input-is-a-bst

Binary Search Tree

0098-validate-binary-search-tree
0230-kth-smallest-element-in-a-bst
0235-lowest-common-ancestor-of-a-binary-search-tree
0450-delete-node-in-a-bst
0653-two-sum-iv-input-is-a-bst
0783-search-in-a-binary-search-tree
0784-insert-into-a-binary-search-tree
1476-count-negative-numbers-in-a-sorted-matrix

Hash Table

0653-two-sum-iv-input-is-a-bst

Two Pointers

0027-remove-element
0075-sort-colors
0088-merge-sorted-array
0653-two-sum-iv-input-is-a-bst

Array

0027-remove-element
0075-sort-colors
0088-merge-sorted-array
1137-height-checker
1476-count-negative-numbers-in-a-sorted-matrix
2148-minimum-number-of-moves-to-seat-everyone

Sorting

0075-sort-colors
0088-merge-sorted-array
1137-height-checker
2148-minimum-number-of-moves-to-seat-everyone

Counting Sort

1137-height-checker

Union Find

0547-number-of-provinces

Graph

0547-number-of-provinces

Greedy

2148-minimum-number-of-moves-to-seat-everyone

Math

0070-climbing-stairs

Dynamic Programming

0070-climbing-stairs

Memoization

0070-climbing-stairs

Matrix

1476-count-negative-numbers-in-a-sorted-matrix

LeetCode Topics

Array

0001-two-sum
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0048-rotate-image
0053-maximum-subarray
0063-unique-paths-ii
0064-minimum-path-sum
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0081-search-in-rotated-sorted-array-ii
0088-merge-sorted-array
0118-pascals-triangle
0119-pascals-triangle-ii
0152-maximum-product-subarray
0169-majority-element
0189-rotate-array
0198-house-robber
0219-contains-duplicate-ii
0240-search-a-2d-matrix-ii
0268-missing-number
0283-move-zeroes
0287-find-the-duplicate-number
0455-assign-cookies
0485-max-consecutive-ones
0628-maximum-product-of-three-numbers
0747-min-cost-climbing-stairs
0792-binary-search
0861-flipping-an-image
0898-transpose-matrix
1293-three-consecutive-odds
1786-count-the-number-of-consistent-strings
2271-rearrange-array-elements-by-sign

Two Pointers

0075-sort-colors
0088-merge-sorted-array
0151-reverse-words-in-a-string
0189-rotate-array
0283-move-zeroes
0287-find-the-duplicate-number
0455-assign-cookies
0861-flipping-an-image
2271-rearrange-array-elements-by-sign

Greedy

0455-assign-cookies
2032-largest-odd-number-in-string

Sorting

0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0268-missing-number
0451-sort-characters-by-frequency
0455-assign-cookies
0628-maximum-product-of-three-numbers

Math

0002-add-two-numbers
0048-rotate-image
0062-unique-paths
0189-rotate-array
0268-missing-number
0367-valid-perfect-square
0628-maximum-product-of-three-numbers
1013-fibonacci-number
1236-n-th-tribonacci-number
1642-water-bottles
2032-largest-odd-number-in-string

Simulation

0861-flipping-an-image
0898-transpose-matrix
1642-water-bottles
2271-rearrange-array-elements-by-sign

Dynamic Programming

0053-maximum-subarray
0062-unique-paths
0063-unique-paths-ii
0064-minimum-path-sum
0118-pascals-triangle
0119-pascals-triangle-ii
0152-maximum-product-subarray
0198-house-robber
0338-counting-bits
0747-min-cost-climbing-stairs
1013-fibonacci-number
1236-n-th-tribonacci-number

Memoization

1013-fibonacci-number
1236-n-th-tribonacci-number

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0073-set-matrix-zeroes
0169-majority-element
0219-contains-duplicate-ii
0268-missing-number
0451-sort-characters-by-frequency
0920-uncommon-words-from-two-sentences
1786-count-the-number-of-consistent-strings

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0074-search-a-2d-matrix
0081-search-in-rotated-sorted-array-ii
0240-search-a-2d-matrix-ii
0268-missing-number
0287-find-the-duplicate-number
0367-valid-perfect-square
0792-binary-search

Bit Manipulation

0268-missing-number
0287-find-the-duplicate-number
0338-counting-bits
0476-number-complement
0861-flipping-an-image
1786-count-the-number-of-consistent-strings
2323-minimum-bit-flips-to-convert-number

Divide and Conquer

0053-maximum-subarray
0169-majority-element
0240-search-a-2d-matrix-ii

Counting

0169-majority-element
0451-sort-characters-by-frequency
0920-uncommon-words-from-two-sentences
1786-count-the-number-of-consistent-strings

Matrix

0048-rotate-image
0063-unique-paths-ii
0064-minimum-path-sum
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0240-search-a-2d-matrix-ii
0861-flipping-an-image
0898-transpose-matrix

Sliding Window

0003-longest-substring-without-repeating-characters
0219-contains-duplicate-ii

String

0003-longest-substring-without-repeating-characters
0014-longest-common-prefix
0151-reverse-words-in-a-string
0451-sort-characters-by-frequency
0812-rotate-string
0920-uncommon-words-from-two-sentences
1078-remove-outermost-parentheses
1786-count-the-number-of-consistent-strings
2032-largest-odd-number-in-string
3207-make-three-strings-equal

Stack

1078-remove-outermost-parentheses

String Matching

0812-rotate-string

Heap (Priority Queue)

0451-sort-characters-by-frequency

Bucket Sort

0451-sort-characters-by-frequency

Linked List

0002-add-two-numbers

Recursion

0002-add-two-numbers
1013-fibonacci-number

Trie

0014-longest-common-prefix

Combinatorics

0062-unique-paths

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages