Skip to content

dixi225/leetcode_submissions

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

Linked List

0002-add-two-numbers
1072-next-greater-node-in-linked-list
2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points
2236-maximum-twin-sum-of-a-linked-list
2299-merge-nodes-in-between-zeros
2573-remove-nodes-from-linked-list

Math

0002-add-two-numbers
0070-climbing-stairs
0189-rotate-array
0227-basic-calculator-ii
0268-missing-number
1048-clumsy-factorial
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2645-pass-the-pillow

Recursion

0002-add-two-numbers
0044-wildcard-matching
1951-find-the-winner-of-the-circular-game
2573-remove-nodes-from-linked-list

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0075-sort-colors
0128-longest-consecutive-sequence
0136-single-number
0169-majority-element
0189-rotate-array
0200-number-of-islands
0268-missing-number
0283-move-zeroes
0350-intersection-of-two-arrays-ii
0456-132-pattern
0485-max-consecutive-ones
0560-subarray-sum-equals-k
0636-exclusive-time-of-functions
0654-maximum-binary-tree
0733-flood-fill
0735-asteroid-collision
0739-daily-temperatures
0943-sum-of-subarray-minimums
0948-sort-an-array
0983-validate-stack-sequences
1072-next-greater-node-in-linked-list
1196-filling-bookcase-shelves
1207-delete-nodes-and-return-forest
1293-three-consecutive-odds
1333-sort-the-jumbled-numbers
1496-lucky-numbers-in-a-matrix
1497-design-a-stack-with-increment-operation
1511-count-number-of-teams
1552-build-an-array-with-stack-operations
1570-final-prices-with-a-special-discount-in-a-shop
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1711-find-valid-matrix-given-row-and-column-sums
1720-crawler-log-folder
1741-sort-array-by-increasing-frequency
1802-number-of-students-unable-to-eat-lunch
1803-average-waiting-time
1878-check-if-array-is-sorted-and-rotated
1951-find-the-winner-of-the-circular-game
2227-sum-of-subarray-ranges
2271-rearrange-array-elements-by-sign
2306-create-binary-tree-from-descriptions
2472-build-a-matrix-with-conditions
2502-sort-the-people
2727-number-of-senior-citizens
2846-robot-collisions
3235-minimum-cost-to-convert-string-i

Two Pointers

0026-remove-duplicates-from-sorted-array
0028-find-the-index-of-the-first-occurrence-in-a-string
0075-sort-colors
0189-rotate-array
0283-move-zeroes
0350-intersection-of-two-arrays-ii
2236-maximum-twin-sum-of-a-linked-list
2271-rearrange-array-elements-by-sign

Bit Manipulation

0136-single-number
0268-missing-number

Hash Table

0001-two-sum
0128-longest-consecutive-sequence
0169-majority-element
0268-missing-number
0350-intersection-of-two-arrays-ii
0560-subarray-sum-equals-k
0726-number-of-atoms
1207-delete-nodes-and-return-forest
1741-sort-array-by-increasing-frequency
2306-create-binary-tree-from-descriptions
2502-sort-the-people

Binary Search

0268-missing-number
0350-intersection-of-two-arrays-ii
0456-132-pattern

Sorting

0075-sort-colors
0169-majority-element
0268-missing-number
0350-intersection-of-two-arrays-ii
0726-number-of-atoms
0948-sort-an-array
1333-sort-the-jumbled-numbers
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1741-sort-array-by-increasing-frequency
2502-sort-the-people
2846-robot-collisions

Prefix Sum

0560-subarray-sum-equals-k

Divide and Conquer

0169-majority-element
0654-maximum-binary-tree
0948-sort-an-array

Counting

0169-majority-element

Simulation

0735-asteroid-collision
0983-validate-stack-sequences
1048-clumsy-factorial
1552-build-an-array-with-stack-operations
1642-water-bottles
1802-number-of-students-unable-to-eat-lunch
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2271-rearrange-array-elements-by-sign
2299-merge-nodes-in-between-zeros
2317-count-collisions-on-a-road
2470-removing-stars-from-a-string
2645-pass-the-pillow
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions

Union Find

0128-longest-consecutive-sequence
0200-number-of-islands
0547-number-of-provinces

Greedy

0044-wildcard-matching
0316-remove-duplicate-letters
0402-remove-k-digits
0957-minimum-add-to-make-parentheses-valid
1159-smallest-subsequence-of-distinct-characters
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1711-find-valid-matrix-given-row-and-column-sums
1818-maximum-score-from-removing-substrings

String

0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0044-wildcard-matching
0227-basic-calculator-ii
0316-remove-duplicate-letters
0402-remove-k-digits
0726-number-of-atoms
0886-score-of-parentheses
0957-minimum-add-to-make-parentheses-valid
1045-check-if-word-is-valid-after-substitutions
1078-remove-outermost-parentheses
1159-smallest-subsequence-of-distinct-characters
1298-reverse-substrings-between-each-pair-of-parentheses
1371-minimum-remove-to-make-valid-parentheses
1720-crawler-log-folder
1737-maximum-nesting-depth-of-the-parentheses
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2317-count-collisions-on-a-road
2470-removing-stars-from-a-string
2502-sort-the-people
2727-number-of-senior-citizens
2800-minimum-string-length-after-removing-substrings
3235-minimum-cost-to-convert-string-i

String Matching

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

Dynamic Programming

0044-wildcard-matching
0070-climbing-stairs
0943-sum-of-subarray-minimums
1196-filling-bookcase-shelves
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
1511-count-number-of-teams
1756-minimum-deletions-to-make-string-balanced

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0227-basic-calculator-ii
0316-remove-duplicate-letters
0402-remove-k-digits
0456-132-pattern
0636-exclusive-time-of-functions
0654-maximum-binary-tree
0726-number-of-atoms
0735-asteroid-collision
0739-daily-temperatures
0886-score-of-parentheses
0943-sum-of-subarray-minimums
0957-minimum-add-to-make-parentheses-valid
0983-validate-stack-sequences
1045-check-if-word-is-valid-after-substitutions
1048-clumsy-factorial
1072-next-greater-node-in-linked-list
1078-remove-outermost-parentheses
1159-smallest-subsequence-of-distinct-characters
1298-reverse-substrings-between-each-pair-of-parentheses
1371-minimum-remove-to-make-valid-parentheses
1497-design-a-stack-with-increment-operation
1552-build-an-array-with-stack-operations
1570-final-prices-with-a-special-discount-in-a-shop
1720-crawler-log-folder
1737-maximum-nesting-depth-of-the-parentheses
1756-minimum-deletions-to-make-string-balanced
1802-number-of-students-unable-to-eat-lunch
1818-maximum-score-from-removing-substrings
2227-sum-of-subarray-ranges
2236-maximum-twin-sum-of-a-linked-list
2317-count-collisions-on-a-road
2470-removing-stars-from-a-string
2573-remove-nodes-from-linked-list
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions

Monotonic Stack

0316-remove-duplicate-letters
0402-remove-k-digits
0456-132-pattern
0654-maximum-binary-tree
0739-daily-temperatures
0943-sum-of-subarray-minimums
1072-next-greater-node-in-linked-list
1159-smallest-subsequence-of-distinct-characters
1570-final-prices-with-a-special-discount-in-a-shop
2227-sum-of-subarray-ranges
2573-remove-nodes-from-linked-list

Queue

1802-number-of-students-unable-to-eat-lunch
1951-find-the-winner-of-the-circular-game

Tree

0094-binary-tree-inorder-traversal
0654-maximum-binary-tree
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Depth-First Search

0094-binary-tree-inorder-traversal
0200-number-of-islands
0547-number-of-provinces
0733-flood-fill
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another

Binary Tree

0094-binary-tree-inorder-traversal
0654-maximum-binary-tree
1207-delete-nodes-and-return-forest
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Memoization

0070-climbing-stairs

Matrix

0200-number-of-islands
0733-flood-fill
1496-lucky-numbers-in-a-matrix
1711-find-valid-matrix-given-row-and-column-sums
2472-build-a-matrix-with-conditions

Graph

0547-number-of-provinces
1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2171-second-minimum-time-to-reach-destination
2472-build-a-matrix-with-conditions
3235-minimum-cost-to-convert-string-i

Topological Sort

2472-build-a-matrix-with-conditions

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Ordered Set

0456-132-pattern

Shortest Path

1456-find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance
2171-second-minimum-time-to-reach-destination
3235-minimum-cost-to-convert-string-i

Design

1497-design-a-stack-with-increment-operation

Breadth-First Search

0200-number-of-islands
0547-number-of-provinces
0733-flood-fill
2171-second-minimum-time-to-reach-destination

Binary Indexed Tree

1511-count-number-of-teams

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published