Skip to content

DBurns21/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-solutions

This is where I am going to be storing all of my solutions that I have from completing leetcode problems.

LeetCode Topics

Array

0001-two-sum
0120-triangle
0221-maximal-square
0498-diagonal-traverse
0611-valid-triangle-number
0679-24-game
0830-largest-triangle-area
0940-fruit-into-baskets
1111-minimum-score-triangulation-of-polygon
1402-count-square-submatrices-with-all-ones
1426-find-n-unique-integers-sum-up-to-zero
1586-longest-subarray-of-1s-after-deleting-one-element
1628-count-submatrices-with-all-ones
1834-minimum-number-of-people-to-teach
2324-find-triangular-sum-of-an-array
2429-design-a-food-rating-system
2432-number-of-zero-filled-subarrays
2529-range-product-queries-of-powers
3242-count-elements-with-maximum-frequency
3251-maximum-area-of-longest-diagonal-rectangle
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3459-find-the-minimum-area-to-cover-all-ones-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3733-length-of-longest-v-shaped-diagonal-segment
3744-minimum-operations-to-make-array-elements-zero
3748-sort-matrix-by-diagonals
3790-fruits-into-baskets-ii
3797-design-spreadsheet

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0166-fraction-to-recurring-decimal
0900-reordered-power-of-2
0940-fruit-into-baskets
1264-maximum-number-of-words-you-can-type
1834-minimum-number-of-people-to-teach
2429-design-a-food-rating-system
3242-count-elements-with-maximum-frequency
3678-design-task-manager
3797-design-spreadsheet
3872-find-most-frequent-vowel-and-consonant

Sliding Window

0003-longest-substring-without-repeating-characters
0867-new-21-game
0940-fruit-into-baskets
1586-longest-subarray-of-1s-after-deleting-one-element

Binary Search

0611-valid-triangle-number
3790-fruits-into-baskets-ii

Segment Tree

3790-fruits-into-baskets-ii

Simulation

0498-diagonal-traverse
1642-water-bottles
2324-find-triangular-sum-of-an-array
3790-fruits-into-baskets-ii

Ordered Set

2429-design-a-food-rating-system
3678-design-task-manager
3790-fruits-into-baskets-ii

Math

0002-add-two-numbers
0009-palindrome-number
0166-fraction-to-recurring-decimal
0231-power-of-two
0326-power-of-three
0342-power-of-four
0679-24-game
0826-soup-servings
0830-largest-triangle-area
0867-new-21-game
0900-reordered-power-of-2
1426-find-n-unique-integers-sum-up-to-zero
1440-convert-integer-to-the-sum-of-two-no-zero-integers
1448-maximum-69-number
1642-water-bottles
2324-find-triangular-sum-of-an-array
2432-number-of-zero-filled-subarrays
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3462-vowels-game-in-a-string
3744-minimum-operations-to-make-array-elements-zero
3830-find-closest-person

Dynamic Programming

0120-triangle
0221-maximal-square
0826-soup-servings
0867-new-21-game
1111-minimum-score-triangulation-of-polygon
1402-count-square-submatrices-with-all-ones
1586-longest-subarray-of-1s-after-deleting-one-element
1628-count-submatrices-with-all-ones
2882-ways-to-express-an-integer-as-sum-of-powers
3733-length-of-longest-v-shaped-diagonal-segment

Probability and Statistics

0826-soup-servings
0867-new-21-game

Bit Manipulation

0231-power-of-two
0342-power-of-four
2529-range-product-queries-of-powers
2837-minimum-operations-to-make-the-integer-zero
3744-minimum-operations-to-make-array-elements-zero

Recursion

0002-add-two-numbers
0231-power-of-two
0326-power-of-three
0342-power-of-four

Sorting

0611-valid-triangle-number
0900-reordered-power-of-2
2887-sort-vowels-in-a-string
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3748-sort-matrix-by-diagonals

Counting

0900-reordered-power-of-2
3242-count-elements-with-maximum-frequency
3872-find-most-frequent-vowel-and-consonant

Enumeration

0900-reordered-power-of-2
2837-minimum-operations-to-make-the-integer-zero
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i
3459-find-the-minimum-area-to-cover-all-ones-ii

Prefix Sum

2529-range-product-queries-of-powers

String

0003-longest-substring-without-repeating-characters
0165-compare-version-numbers
0166-fraction-to-recurring-decimal
1264-maximum-number-of-words-you-can-type
2346-largest-3-same-digit-number-in-string
2429-design-a-food-rating-system
2887-sort-vowels-in-a-string
3462-vowels-game-in-a-string
3797-design-spreadsheet
3872-find-most-frequent-vowel-and-consonant

Greedy

0611-valid-triangle-number
1448-maximum-69-number
1834-minimum-number-of-people-to-teach

Backtracking

0679-24-game

Matrix

0221-maximal-square
0498-diagonal-traverse
1402-count-square-submatrices-with-all-ones
1628-count-submatrices-with-all-ones
3459-find-the-minimum-area-to-cover-all-ones-ii
3461-find-the-minimum-area-to-cover-all-ones-i
3733-length-of-longest-v-shaped-diagonal-segment
3748-sort-matrix-by-diagonals
3797-design-spreadsheet

Stack

1628-count-submatrices-with-all-ones

Monotonic Stack

1628-count-submatrices-with-all-ones

Memoization

3733-length-of-longest-v-shaped-diagonal-segment

Geometry

0830-largest-triangle-area
3277-find-the-number-of-ways-to-place-people-ii
3278-find-the-number-of-ways-to-place-people-i

Brainteaser

2837-minimum-operations-to-make-the-integer-zero
3462-vowels-game-in-a-string

Linked List

0002-add-two-numbers

Game Theory

3462-vowels-game-in-a-string

Design

2429-design-a-food-rating-system
3678-design-task-manager
3797-design-spreadsheet

Heap (Priority Queue)

2429-design-a-food-rating-system
3678-design-task-manager

Two Pointers

0165-compare-version-numbers
0611-valid-triangle-number

Combinatorics

2324-find-triangular-sum-of-an-array

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages