Skip to content

Repository files navigation

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

LeetCode Topics

Array

0001-two-sum
0015-3sum
0033-search-in-rotated-sorted-array
0039-combination-sum
0046-permutations
0053-maximum-subarray
0056-merge-intervals
0057-insert-interval
0075-sort-colors
0121-best-time-to-buy-and-sell-stock
0150-evaluate-reverse-polish-notation
0169-majority-element
0200-number-of-islands
0238-product-of-array-except-self
0322-coin-change
0542-01-matrix
0733-flood-fill
0792-binary-search
0994-rotting-oranges
1014-k-closest-points-to-origin

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0133-clone-graph
0141-linked-list-cycle
0169-majority-element
0208-implement-trie-prefix-tree
0242-valid-anagram
0383-ransom-note
0409-longest-palindrome

String

0003-longest-substring-without-repeating-characters
0020-valid-parentheses
0067-add-binary
0125-valid-palindrome
0208-implement-trie-prefix-tree
0242-valid-anagram
0383-ransom-note
0409-longest-palindrome

Stack

0020-valid-parentheses
0150-evaluate-reverse-polish-notation
0155-min-stack
0232-implement-queue-using-stacks

Linked List

0021-merge-two-sorted-lists
0141-linked-list-cycle
0206-reverse-linked-list

Recursion

0021-merge-two-sorted-lists
0206-reverse-linked-list

Dynamic Programming

0053-maximum-subarray
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock
0322-coin-change
0542-01-matrix

Two Pointers

0015-3sum
0075-sort-colors
0125-valid-palindrome
0141-linked-list-cycle

Sorting

0015-3sum
0056-merge-intervals
0075-sort-colors
0169-majority-element
0242-valid-anagram
1014-k-closest-points-to-origin

Binary Search

0033-search-in-rotated-sorted-array
0278-first-bad-version
0792-binary-search

Depth-First Search

0098-validate-binary-search-tree
0110-balanced-binary-tree
0133-clone-graph
0200-number-of-islands
0207-course-schedule
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree
0733-flood-fill

Breadth-First Search

0102-binary-tree-level-order-traversal
0133-clone-graph
0200-number-of-islands
0207-course-schedule
0226-invert-binary-tree
0322-coin-change
0542-01-matrix
0733-flood-fill
0994-rotting-oranges

Matrix

0200-number-of-islands
0542-01-matrix
0733-flood-fill
0994-rotting-oranges

Divide and Conquer

0053-maximum-subarray
0169-majority-element
1014-k-closest-points-to-origin

Design

0155-min-stack
0208-implement-trie-prefix-tree
0232-implement-queue-using-stacks

Queue

0232-implement-queue-using-stacks

Interactive

0278-first-bad-version

Counting

0169-majority-element
0383-ransom-note

Sliding Window

0003-longest-substring-without-repeating-characters

Math

0067-add-binary
0070-climbing-stairs
0150-evaluate-reverse-polish-notation
1014-k-closest-points-to-origin

Geometry

1014-k-closest-points-to-origin

Heap (Priority Queue)

1014-k-closest-points-to-origin

Quickselect

1014-k-closest-points-to-origin

Tree

0098-validate-binary-search-tree
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Tree

0098-validate-binary-search-tree
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
0226-invert-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Search Tree

0098-validate-binary-search-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Memoization

0070-climbing-stairs

Graph

0133-clone-graph
0207-course-schedule

Topological Sort

0207-course-schedule

Greedy

0409-longest-palindrome

Bit Manipulation

0067-add-binary

Simulation

0067-add-binary

Union Find

0200-number-of-islands

Trie

0208-implement-trie-prefix-tree

Prefix Sum

0238-product-of-array-except-self

Backtracking

0039-combination-sum
0046-permutations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages