Skip to content

FaresEdres/LeetCode-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
0036-valid-sudoku
0042-trapping-rain-water
0049-group-anagrams
0054-spiral-matrix
0074-search-a-2d-matrix
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0219-contains-duplicate-ii
0238-product-of-array-except-self
0268-missing-number
0347-top-k-frequent-elements
0792-binary-search
0941-sort-array-by-parity
1127-last-stone-weight
1482-how-many-numbers-are-smaller-than-the-current-number
1781-check-if-two-string-arrays-are-equivalent
2102-find-the-middle-index-in-array
2654-count-the-number-of-vowel-strings-in-range

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0141-linked-list-cycle
0217-contains-duplicate
0219-contains-duplicate-ii
0242-valid-anagram
0268-missing-number
0347-top-k-frequent-elements
0424-longest-repeating-character-replacement
0567-permutation-in-string
1482-how-many-numbers-are-smaller-than-the-current-number

Sorting

0015-3sum
0049-group-anagrams
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0347-top-k-frequent-elements
0941-sort-array-by-parity
1482-how-many-numbers-are-smaller-than-the-current-number

String

0020-valid-parentheses
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0424-longest-repeating-character-replacement
0567-permutation-in-string
1274-number-of-days-between-two-dates
1781-check-if-two-string-arrays-are-equivalent
1894-merge-strings-alternately
2654-count-the-number-of-vowel-strings-in-range
3361-latest-time-you-can-obtain-after-replacing-characters

Math

0009-palindrome-number
0231-power-of-two
0268-missing-number
1274-number-of-days-between-two-dates

Divide and Conquer

0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements
1127-last-stone-weight

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements
1482-how-many-numbers-are-smaller-than-the-current-number
2654-count-the-number-of-vowel-strings-in-range

Quickselect

0347-top-k-frequent-elements

Prefix Sum

0238-product-of-array-except-self
2102-find-the-middle-index-in-array

Union Find

0128-longest-consecutive-sequence

Matrix

0036-valid-sudoku
0054-spiral-matrix
0074-search-a-2d-matrix

Two Pointers

0011-container-with-most-water
0015-3sum
0042-trapping-rain-water
0125-valid-palindrome
0141-linked-list-cycle
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0567-permutation-in-string
0941-sort-array-by-parity
1894-merge-strings-alternately

Binary Search

0074-search-a-2d-matrix
0167-two-sum-ii-input-array-is-sorted
0268-missing-number
0792-binary-search

Sliding Window

0219-contains-duplicate-ii
0424-longest-repeating-character-replacement
0567-permutation-in-string

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

Monotonic Stack

0042-trapping-rain-water

Greedy

0011-container-with-most-water

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

Bit Manipulation

0231-power-of-two
0268-missing-number

Recursion

0021-merge-two-sorted-lists
0143-reorder-list
0231-power-of-two

Linked List

0021-merge-two-sorted-lists
0141-linked-list-cycle
0143-reorder-list

Enumeration

3361-latest-time-you-can-obtain-after-replacing-characters

Simulation

0054-spiral-matrix

Database

0197-rising-temperature
0577-employee-bonus
0584-find-customer-referee
0595-big-countries
1153-product-sales-analysis-i
1258-article-views-i
1509-replace-employee-id-with-the-unique-identifier
1724-customer-who-visited-but-did-not-make-any-transactions
1801-average-time-of-process-per-machine
1827-invalid-tweets
1908-recyclable-and-low-fat-products

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published