Skip to content
niixxksPublic

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

294 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Math

0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0066-plus-one
0069-sqrtx
0070-climbing-stairs
0268-missing-number
0900-reordered-power-of-2
1013-fibonacci-number

Hash Table

0001-two-sum
0013-roman-to-integer
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0169-majority-element
0217-contains-duplicate
0268-missing-number
0560-subarray-sum-equals-k
0900-reordered-power-of-2
1016-subarray-sums-divisible-by-k
2689-rearranging-fruits

String

0013-roman-to-integer
0028-find-the-index-of-the-first-occurrence-in-a-string
2260-divide-a-string-into-groups-of-size-k

Array

0001-two-sum
0035-search-insert-position
0040-combination-sum-ii
0066-plus-one
0088-merge-sorted-array
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0135-candy
0169-majority-element
0198-house-robber
0200-number-of-islands
0217-contains-duplicate
0268-missing-number
0322-coin-change
0435-non-overlapping-intervals
0452-minimum-number-of-arrows-to-burst-balloons
0455-assign-cookies
0485-max-consecutive-ones
0560-subarray-sum-equals-k
0948-sort-an-array
0985-bag-of-tokens
1016-subarray-sums-divisible-by-k
1019-squares-of-a-sorted-array
1036-rotting-oranges
2316-count-hills-and-valleys-in-an-array
2320-find-all-k-distant-indices-in-an-array
2689-rearranging-fruits

Greedy

0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0135-candy
0435-non-overlapping-intervals
0452-minimum-number-of-arrows-to-burst-balloons
0455-assign-cookies
0985-bag-of-tokens
2689-rearranging-fruits

Sorting

0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0268-missing-number
0435-non-overlapping-intervals
0452-minimum-number-of-arrows-to-burst-balloons
0455-assign-cookies
0900-reordered-power-of-2
0948-sort-an-array
0985-bag-of-tokens
1019-squares-of-a-sorted-array
2689-rearranging-fruits

Two Pointers

0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0455-assign-cookies
0985-bag-of-tokens
1019-squares-of-a-sorted-array
2320-find-all-k-distant-indices-in-an-array

Dynamic Programming

0070-climbing-stairs
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0124-binary-tree-maximum-path-sum
0198-house-robber
0322-coin-change
0435-non-overlapping-intervals
1013-fibonacci-number

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0107-binary-tree-level-order-traversal-ii
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0404-sum-of-left-leaves
0543-diameter-of-binary-tree
0671-second-minimum-node-in-a-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0200-number-of-islands
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0404-sum-of-left-leaves
0543-diameter-of-binary-tree
0671-second-minimum-node-in-a-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0105-construct-binary-tree-from-preorder-and-inorder-traversal
0107-binary-tree-level-order-traversal-ii
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0112-path-sum
0124-binary-tree-maximum-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree
0230-kth-smallest-element-in-a-bst
0236-lowest-common-ancestor-of-a-binary-tree
0404-sum-of-left-leaves
0543-diameter-of-binary-tree
0671-second-minimum-node-in-a-binary-tree

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0112-path-sum
0200-number-of-islands
0226-invert-binary-tree
0322-coin-change
0404-sum-of-left-leaves
1036-rotting-oranges

Binary Search Tree

0035-search-insert-position
0069-sqrtx
0108-convert-sorted-array-to-binary-search-tree
0222-count-complete-tree-nodes
0230-kth-smallest-element-in-a-bst
0268-missing-number

Union Find

0200-number-of-islands

Matrix

0200-number-of-islands
1036-rotting-oranges

Divide and Conquer

0105-construct-binary-tree-from-preorder-and-inorder-traversal
0108-convert-sorted-array-to-binary-search-tree
0169-majority-element
0948-sort-an-array

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0169-majority-element
0900-reordered-power-of-2
0948-sort-an-array

Prefix Sum

0560-subarray-sum-equals-k
1016-subarray-sums-divisible-by-k

Simulation

2260-divide-a-string-into-groups-of-size-k

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Memoization

0070-climbing-stairs
1013-fibonacci-number

Linked List

0083-remove-duplicates-from-sorted-list

Recursion

1013-fibonacci-number

Bit Manipulation

0222-count-complete-tree-nodes
0268-missing-number

Enumeration

0900-reordered-power-of-2

Backtracking

0040-combination-sum-ii

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages