Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

233 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-solutions

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

LeetCode Topics

Array

0001-two-sum
0015-3sum
0026-remove-duplicates-from-sorted-array
0033-search-in-rotated-sorted-array
0049-group-anagrams
0053-maximum-subarray
0056-merge-intervals
0057-insert-interval
0121-best-time-to-buy-and-sell-stock
0167-two-sum-ii-input-array-is-sorted
0200-number-of-islands
0209-minimum-size-subarray-sum
0217-contains-duplicate
0238-product-of-array-except-self
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0645-set-mismatch
0792-binary-search
1365-how-many-numbers-are-smaller-than-the-current-number
1431-kids-with-the-greatest-number-of-candies
1470-shuffle-the-array
1929-concatenation-of-array

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0049-group-anagrams
0133-clone-graph
0141-linked-list-cycle
0217-contains-duplicate
0242-valid-anagram
0448-find-all-numbers-disappeared-in-an-array
0645-set-mismatch
1365-how-many-numbers-are-smaller-than-the-current-number

Dynamic Programming

0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock

Sorting

0015-3sum
0049-group-anagrams
0056-merge-intervals
0217-contains-duplicate
0242-valid-anagram
0645-set-mismatch
1365-how-many-numbers-are-smaller-than-the-current-number

Binary Search

0033-search-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0209-minimum-size-subarray-sum
0792-binary-search

Two Pointers

0015-3sum
0026-remove-duplicates-from-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0167-two-sum-ii-input-array-is-sorted
1768-merge-strings-alternately

String

0003-longest-substring-without-repeating-characters
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
1768-merge-strings-alternately

Sliding Window

0003-longest-substring-without-repeating-characters
0209-minimum-size-subarray-sum

Prefix Sum

0209-minimum-size-subarray-sum
0238-product-of-array-except-self

Depth-First Search

0098-validate-binary-search-tree
0104-maximum-depth-of-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

Breadth-First Search

0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0133-clone-graph
0200-number-of-islands
0207-course-schedule
0226-invert-binary-tree

Graph

0133-clone-graph
0207-course-schedule

Topological Sort

0207-course-schedule

Union Find

0200-number-of-islands

Matrix

0200-number-of-islands

Linked List

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

Recursion

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

Tree

0098-validate-binary-search-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-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
0104-maximum-depth-of-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

Math

0002-add-two-numbers

Divide and Conquer

0053-maximum-subarray

Simulation

1929-concatenation-of-array

Bit Manipulation

0645-set-mismatch

Counting Sort

1365-how-many-numbers-are-smaller-than-the-current-number

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