Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

252 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

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

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0033-search-in-rotated-sorted-array
0036-valid-sudoku
0042-trapping-rain-water
0049-group-anagrams
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0150-evaluate-reverse-polish-notation
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0238-product-of-array-except-self
0347-top-k-frequent-elements
0739-daily-temperatures
0792-binary-search

Two Pointers

0011-container-with-most-water
0015-3sum
0019-remove-nth-node-from-end-of-list
0042-trapping-rain-water
0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted

Sorting

0015-3sum
0049-group-anagrams
0088-merge-sorted-array
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0141-linked-list-cycle
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements
0424-longest-repeating-character-replacement

String

0003-longest-substring-without-repeating-characters
0020-valid-parentheses
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0424-longest-repeating-character-replacement

Divide and Conquer

0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Prefix Sum

0238-product-of-array-except-self

Matrix

0036-valid-sudoku

Union Find

0128-longest-consecutive-sequence

Binary Search

0033-search-in-rotated-sorted-array
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0792-binary-search

Greedy

0011-container-with-most-water

Dynamic Programming

0042-trapping-rain-water
0121-best-time-to-buy-and-sell-stock

Stack

0020-valid-parentheses
0042-trapping-rain-water
0143-reorder-list
0150-evaluate-reverse-polish-notation
0155-min-stack
0739-daily-temperatures

Monotonic Stack

0042-trapping-rain-water
0739-daily-temperatures

Design

0155-min-stack

Math

0150-evaluate-reverse-polish-notation

Sliding Window

0003-longest-substring-without-repeating-characters
0424-longest-repeating-character-replacement

Linked List

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

Recursion

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

Tree

0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Depth-First Search

0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Breadth-First Search

0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Binary Tree

0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages