Skip to content
DGbolagaPublic

About

My leetcode solutions.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

220 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0004-median-of-two-sorted-arrays
0055-jump-game
0063-unique-paths-ii
0064-minimum-path-sum
0120-triangle
0139-word-break
0198-house-robber
0300-longest-increasing-subsequence
0496-next-greater-element-i
0698-partition-to-k-equal-sum-subsets
0740-delete-and-earn
1200-minimum-absolute-difference
1218-longest-arithmetic-subsequence-of-given-difference
1266-minimum-time-visiting-all-points
1390-four-divisors
1458-max-dot-product-of-two-subsequences
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1654-minimum-jumps-to-reach-home
1975-maximum-matrix-sum
2006-find-the-student-that-will-replace-the-chalk
2035-count-sub-islands
2306-create-binary-tree-from-descriptions
2636-maximum-subsequence-score
2755-extra-characters-in-a-string
2900-longest-unequal-adjacent-groups-subsequence-i
3081-minimum-array-length-after-pair-removals
3418-maximum-amount-of-money-robot-can-earn
3453-separate-squares-i

Dynamic Programming

0055-jump-game
0062-unique-paths
0063-unique-paths-ii
0064-minimum-path-sum
0120-triangle
0139-word-break
0198-house-robber
0279-perfect-squares
0300-longest-increasing-subsequence
0698-partition-to-k-equal-sum-subsets
0712-minimum-ascii-delete-sum-for-two-strings
0740-delete-and-earn
1218-longest-arithmetic-subsequence-of-given-difference
1411-number-of-ways-to-paint-n-3-grid
1458-max-dot-product-of-two-subsequences
1641-count-sorted-vowel-strings
1654-minimum-jumps-to-reach-home
1668-maximum-repeating-substring
2755-extra-characters-in-a-string
2900-longest-unequal-adjacent-groups-subsequence-i
3418-maximum-amount-of-money-robot-can-earn

Matrix

0063-unique-paths-ii
0064-minimum-path-sum
1975-maximum-matrix-sum
2035-count-sub-islands
3418-maximum-amount-of-money-robot-can-earn

Hash Table

0138-copy-list-with-random-pointer
0139-word-break
0496-next-greater-element-i
0740-delete-and-earn
0865-smallest-subtree-with-all-the-deepest-nodes
1218-longest-arithmetic-subsequence-of-given-difference
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
2306-create-binary-tree-from-descriptions
2461-amount-of-time-for-binary-tree-to-be-infected
2755-extra-characters-in-a-string
3081-minimum-array-length-after-pair-removals

Linked List

0138-copy-list-with-random-pointer

Math

0062-unique-paths
0067-add-binary
0279-perfect-squares
1266-minimum-time-visiting-all-points
1390-four-divisors
1553-count-triplets-that-can-form-two-arrays-of-equal-xor
1641-count-sorted-vowel-strings

Combinatorics

0062-unique-paths
1641-count-sorted-vowel-strings

Greedy

0055-jump-game
1975-maximum-matrix-sum
2636-maximum-subsequence-score
2900-longest-unequal-adjacent-groups-subsequence-i
3081-minimum-array-length-after-pair-removals

Breadth-First Search

0199-binary-tree-right-side-view
0279-perfect-squares
0865-smallest-subtree-with-all-the-deepest-nodes
1161-maximum-level-sum-of-a-binary-tree
1654-minimum-jumps-to-reach-home
1731-even-odd-tree
2035-count-sub-islands
2461-amount-of-time-for-binary-tree-to-be-infected

Tree

0199-binary-tree-right-side-view
0784-insert-into-a-binary-search-tree
0865-smallest-subtree-with-all-the-deepest-nodes
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
1731-even-odd-tree
2306-create-binary-tree-from-descriptions
2461-amount-of-time-for-binary-tree-to-be-infected

Depth-First Search

0199-binary-tree-right-side-view
0865-smallest-subtree-with-all-the-deepest-nodes
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
2035-count-sub-islands
2461-amount-of-time-for-binary-tree-to-be-infected

Binary Tree

0199-binary-tree-right-side-view
0784-insert-into-a-binary-search-tree
0865-smallest-subtree-with-all-the-deepest-nodes
1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree
1731-even-odd-tree
2306-create-binary-tree-from-descriptions
2461-amount-of-time-for-binary-tree-to-be-infected

Binary Search

0004-median-of-two-sorted-arrays
0300-longest-increasing-subsequence
2006-find-the-student-that-will-replace-the-chalk
3081-minimum-array-length-after-pair-removals
3453-separate-squares-i

String

0067-add-binary
0139-word-break
0696-count-binary-substrings
0712-minimum-ascii-delete-sum-for-two-strings
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1668-maximum-repeating-substring
2021-remove-all-occurrences-of-a-substring
2755-extra-characters-in-a-string
2900-longest-unequal-adjacent-groups-subsequence-i

Geometry

1266-minimum-time-visiting-all-points

String Matching

1668-maximum-repeating-substring

Trie

0139-word-break
2755-extra-characters-in-a-string

Memoization

0139-word-break
0698-partition-to-k-equal-sum-subsets

Sorting

1200-minimum-absolute-difference
2636-maximum-subsequence-score

Bit Manipulation

0067-add-binary
0190-reverse-bits
0693-binary-number-with-alternating-bits
0698-partition-to-k-equal-sum-subsets
1461-check-if-a-string-contains-all-binary-codes-of-size-k
1553-count-triplets-that-can-form-two-arrays-of-equal-xor

Divide and Conquer

0004-median-of-two-sorted-arrays
0190-reverse-bits

Simulation

0067-add-binary
2006-find-the-student-that-will-replace-the-chalk
2021-remove-all-occurrences-of-a-substring

Two Pointers

0696-count-binary-substrings
3081-minimum-array-length-after-pair-removals

Rolling Hash

1461-check-if-a-string-contains-all-binary-codes-of-size-k

Hash Function

1461-check-if-a-string-contains-all-binary-codes-of-size-k

Stack

0496-next-greater-element-i
2021-remove-all-occurrences-of-a-substring

Monotonic Stack

0496-next-greater-element-i

Binary Search Tree

0784-insert-into-a-binary-search-tree

Backtracking

0698-partition-to-k-equal-sum-subsets

Bitmask

0698-partition-to-k-equal-sum-subsets

Counting

3081-minimum-array-length-after-pair-removals

Heap (Priority Queue)

2636-maximum-subsequence-score

Prefix Sum

1553-count-triplets-that-can-form-two-arrays-of-equal-xor
2006-find-the-student-that-will-replace-the-chalk

Union-Find

2035-count-sub-islands

About

My leetcode solutions.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages