Skip to content

Latest commit

 

History

199 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA-Practice

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
0039-combination-sum
0040-combination-sum-ii
0041-first-missing-positive
0042-trapping-rain-water
0049-group-anagrams
0051-n-queens
0075-sort-colors
0079-word-search
0090-subsets-ii
0128-longest-consecutive-sequence
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0217-contains-duplicate
0994-rotting-oranges
2213-longest-substring-of-one-repeating-character

Backtracking

0039-combination-sum
0040-combination-sum-ii
0051-n-queens
0079-word-search
0090-subsets-ii

Bit Manipulation

0090-subsets-ii
0191-number-of-1-bits
0476-number-complement

String

0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0049-group-anagrams
0079-word-search
0125-valid-palindrome
0205-isomorphic-strings
0242-valid-anagram
0424-longest-repeating-character-replacement
1108-defanging-an-ip-address
2213-longest-substring-of-one-repeating-character

Depth-First Search

0079-word-search
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

Matrix

0079-word-search
0994-rotting-oranges

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0041-first-missing-positive
0049-group-anagrams
0128-longest-consecutive-sequence
0142-linked-list-cycle-ii
0202-happy-number
0205-isomorphic-strings
0217-contains-duplicate
0242-valid-anagram
0424-longest-repeating-character-replacement

Math

0002-add-two-numbers
0012-integer-to-roman
0013-roman-to-integer
0189-rotate-array
0202-happy-number

Two Pointers

0011-container-with-most-water
0015-3sum
0019-remove-nth-node-from-end-of-list
0042-trapping-rain-water
0075-sort-colors
0125-valid-palindrome
0142-linked-list-cycle-ii
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0202-happy-number
0234-palindrome-linked-list
2095-delete-the-middle-node-of-a-linked-list

Sorting

0015-3sum
0049-group-anagrams
0075-sort-colors
0217-contains-duplicate
0242-valid-anagram

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0024-swap-nodes-in-pairs
0083-remove-duplicates-from-sorted-list
0142-linked-list-cycle-ii
0143-reorder-list
0203-remove-linked-list-elements
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
2095-delete-the-middle-node-of-a-linked-list

Recursion

0002-add-two-numbers
0024-swap-nodes-in-pairs
0143-reorder-list
0203-remove-linked-list-elements
0234-palindrome-linked-list

Stack

0042-trapping-rain-water
0143-reorder-list
0234-palindrome-linked-list

Union-Find

0128-longest-consecutive-sequence

Sliding Window

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

Greedy

0011-container-with-most-water

Dynamic Programming

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Binary Search

0167-two-sum-ii-input-array-is-sorted

Tree

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree
0994-rotting-oranges

Binary Tree

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

Divide and Conquer

0191-number-of-1-bits

Segment Tree

2213-longest-substring-of-one-repeating-character

Ordered Set

2213-longest-substring-of-one-repeating-character

DP on Trees

0543-diameter-of-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

0 watching

Forks

Releases

Packages

Contributors

Languages