Skip to content

cez-an/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

588 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Math

0002-add-two-numbers
0007-reverse-integer
0009-palindrome-number
0066-plus-one
0070-climbing-stairs
0268-missing-number
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1635-number-of-good-pairs
2455-average-value-of-even-numbers-that-are-divisible-by-three
2542-average-value-of-even-numbers-that-are-divisible-by-three
2624-difference-between-element-sum-and-digit-sum-of-an-array
2894-divisible-and-non-divisible-sums-difference
3172-divisible-and-non-divisible-sums-difference
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3289-the-two-sneaky-numbers-of-digitville
3512-minimum-operations-to-make-array-sum-divisible-by-k
3622-check-divisibility-by-digit-sum-and-product
3697-compute-decimal-representation

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0027-remove-element
0066-plus-one
0088-merge-sorted-array
0136-single-number
0169-majority-element
0217-contains-duplicate
0268-missing-number
0575-distribute-candies
0977-squares-of-a-sorted-array
1051-height-checker
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
1899-count-items-matching-a-rule
2181-smallest-index-with-equal-value
2367-number-of-arithmetic-triplets
2442-number-of-arithmetic-triplets
2455-average-value-of-even-numbers-that-are-divisible-by-three
2542-average-value-of-even-numbers-that-are-divisible-by-three
2551-apply-operations-to-an-array
2624-difference-between-element-sum-and-digit-sum-of-an-array
2660-determine-the-winner-of-a-bowling-game
2744-find-maximum-number-of-string-pairs
2824-count-pairs-whose-sum-is-less-than-target
2847-find-maximum-number-of-string-pairs
2876-number-of-employees-who-met-the-target
2917-count-pairs-whose-sum-is-less-than-target
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3194-minimum-average-of-smallest-and-largest-elements
3289-the-two-sneaky-numbers-of-digitville
3471-minimum-average-of-smallest-and-largest-elements
3501-delete-nodes-from-linked-list-present-in-array
3512-minimum-operations-to-make-array-sum-divisible-by-k
3632-button-with-longest-push-time
3697-compute-decimal-representation

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0977-squares-of-a-sorted-array
2128-reverse-prefix-of-word
2367-number-of-arithmetic-triplets
2442-number-of-arithmetic-triplets
2551-apply-operations-to-an-array
2824-count-pairs-whose-sum-is-less-than-target
2917-count-pairs-whose-sum-is-less-than-target
3194-minimum-average-of-smallest-and-largest-elements
3471-minimum-average-of-smallest-and-largest-elements

String

0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0125-valid-palindrome
0208-implement-trie-prefix-tree
0242-valid-anagram
0290-word-pattern
0387-first-unique-character-in-a-string
1899-count-items-matching-a-rule
1915-check-if-one-string-swap-can-make-strings-equal
2128-reverse-prefix-of-word
2346-largest-3-same-digit-number-in-string
2744-find-maximum-number-of-string-pairs
2847-find-maximum-number-of-string-pairs
3110-score-of-a-string

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0141-linked-list-cycle
0206-reverse-linked-list
0237-delete-node-in-a-linked-list
3501-delete-nodes-from-linked-list-present-in-array

Recursion

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

Tree

0104-maximum-depth-of-binary-tree
0783-search-in-a-binary-search-tree

Depth-First Search

0104-maximum-depth-of-binary-tree

Breadth-First Search

0104-maximum-depth-of-binary-tree

Binary Tree

0104-maximum-depth-of-binary-tree
0783-search-in-a-binary-search-tree

Sorting

0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0977-squares-of-a-sorted-array
1051-height-checker
1482-how-many-numbers-are-smaller-than-the-current-number
2824-count-pairs-whose-sum-is-less-than-target
2917-count-pairs-whose-sum-is-less-than-target
3194-minimum-average-of-smallest-and-largest-elements
3471-minimum-average-of-smallest-and-largest-elements

Hash Table

0001-two-sum
0141-linked-list-cycle
0169-majority-element
0208-implement-trie-prefix-tree
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0290-word-pattern
0387-first-unique-character-in-a-string
0575-distribute-candies
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
1915-check-if-one-string-swap-can-make-strings-equal
2367-number-of-arithmetic-triplets
2442-number-of-arithmetic-triplets
2744-find-maximum-number-of-string-pairs
2847-find-maximum-number-of-string-pairs
3289-the-two-sneaky-numbers-of-digitville
3501-delete-nodes-from-linked-list-present-in-array

Queue

0387-first-unique-character-in-a-string

Counting

0169-majority-element
0387-first-unique-character-in-a-string
1635-number-of-good-pairs
1915-check-if-one-string-swap-can-make-strings-equal

Design

0208-implement-trie-prefix-tree

Trie

0014-longest-common-prefix
0208-implement-trie-prefix-tree

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Binary Search

0004-median-of-two-sorted-arrays
0268-missing-number
2824-count-pairs-whose-sum-is-less-than-target
2917-count-pairs-whose-sum-is-less-than-target

Divide and Conquer

0004-median-of-two-sorted-arrays
0169-majority-element
0190-reverse-bits
0191-number-of-1-bits

Simulation

2551-apply-operations-to-an-array
2660-determine-the-winner-of-a-bowling-game
2744-find-maximum-number-of-string-pairs
2847-find-maximum-number-of-string-pairs

Binary Search Tree

0783-search-in-a-binary-search-tree

Stack

0020-valid-parentheses
2128-reverse-prefix-of-word

Counting Sort

1051-height-checker
1482-how-many-numbers-are-smaller-than-the-current-number

Enumeration

2367-number-of-arithmetic-triplets
2442-number-of-arithmetic-triplets

Bit Manipulation

0136-single-number
0190-reverse-bits
0191-number-of-1-bits
0268-missing-number
0338-counting-bits

Dynamic Programming

0070-climbing-stairs
0338-counting-bits

Memoization

0070-climbing-stairs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors