Skip to content

ChimeraElixir/Data_Structure_And_Algorithm

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

Math

0048-rotate-image
0060-permutation-sequence
0062-unique-paths
0070-climbing-stairs
0189-rotate-array
0268-missing-number
2032-largest-odd-number-in-string

Dynamic Programming

0042-trapping-rain-water
0062-unique-paths
0063-unique-paths-ii
0064-minimum-path-sum
0070-climbing-stairs
0085-maximal-rectangle
0120-triangle
0121-best-time-to-buy-and-sell-stock
0198-house-robber
0213-house-robber-ii
0943-sum-of-subarray-minimums
0967-minimum-falling-path-sum

Memoization

0070-climbing-stairs

Array

0026-remove-duplicates-from-sorted-array
0031-next-permutation
0042-trapping-rain-water
0048-rotate-image
0054-spiral-matrix
0056-merge-intervals
0063-unique-paths-ii
0064-minimum-path-sum
0073-set-matrix-zeroes
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0120-triangle
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0130-surrounded-regions
0162-find-peak-element
0169-majority-element
0189-rotate-array
0198-house-robber
0200-number-of-islands
0213-house-robber-ii
0268-missing-number
0283-move-zeroes
0496-next-greater-element-i
0503-next-greater-element-ii
0695-max-area-of-island
0721-accounts-merge
0733-flood-fill
0735-asteroid-collision
0854-making-a-large-island
0883-car-fleet
0943-sum-of-subarray-minimums
0967-minimum-falling-path-sum
1036-rotting-oranges
1073-number-of-enclaves
1171-shortest-path-in-binary-matrix
1663-detect-cycles-in-2d-grid
1753-path-with-minimum-effort
2227-sum-of-subarray-ranges
2271-rearrange-array-elements-by-sign
3522-find-the-power-of-k-size-subarrays-i

Hash Table

0003-longest-substring-without-repeating-characters
0073-set-matrix-zeroes
0127-word-ladder
0128-longest-consecutive-sequence
0169-majority-element
0205-isomorphic-strings
0242-valid-anagram
0268-missing-number
0451-sort-characters-by-frequency
0496-next-greater-element-i
0721-accounts-merge

String

0003-longest-substring-without-repeating-characters
0008-string-to-integer-atoi
0125-valid-palindrome
0127-word-ladder
0205-isomorphic-strings
0242-valid-anagram
0402-remove-k-digits
0451-sort-characters-by-frequency
0721-accounts-merge
0812-rotate-string
1078-remove-outermost-parentheses
1737-maximum-nesting-depth-of-the-parentheses
2032-largest-odd-number-in-string

Sliding Window

0003-longest-substring-without-repeating-characters
3522-find-the-power-of-k-size-subarrays-i

Combinatorics

0062-unique-paths

Matrix

0048-rotate-image
0054-spiral-matrix
0063-unique-paths-ii
0064-minimum-path-sum
0073-set-matrix-zeroes
0085-maximal-rectangle
0130-surrounded-regions
0200-number-of-islands
0695-max-area-of-island
0733-flood-fill
0854-making-a-large-island
0967-minimum-falling-path-sum
1036-rotting-oranges
1073-number-of-enclaves
1171-shortest-path-in-binary-matrix
1663-detect-cycles-in-2d-grid
1753-path-with-minimum-effort

Binary Search

0162-find-peak-element
0268-missing-number
1753-path-with-minimum-effort

Database

1161-project-employees-i
1390-average-selling-price

Recursion

0060-permutation-sequence

Stack

0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0155-min-stack
0402-remove-k-digits
0496-next-greater-element-i
0503-next-greater-element-ii
0735-asteroid-collision
0883-car-fleet
0937-online-stock-span
0943-sum-of-subarray-minimums
1078-remove-outermost-parentheses
1737-maximum-nesting-depth-of-the-parentheses
2227-sum-of-subarray-ranges

Design

0155-min-stack
0937-online-stock-span

Monotonic Stack

0042-trapping-rain-water
0084-largest-rectangle-in-histogram
0085-maximal-rectangle
0402-remove-k-digits
0496-next-greater-element-i
0503-next-greater-element-ii
0883-car-fleet
0937-online-stock-span
0943-sum-of-subarray-minimums
2227-sum-of-subarray-ranges

Two Pointers

0026-remove-duplicates-from-sorted-array
0031-next-permutation
0042-trapping-rain-water
0125-valid-palindrome
0189-rotate-array
0283-move-zeroes
2271-rearrange-array-elements-by-sign

Simulation

0054-spiral-matrix
0735-asteroid-collision
2271-rearrange-array-elements-by-sign

Greedy

0402-remove-k-digits
2032-largest-odd-number-in-string

Data Stream

0937-online-stock-span

String Matching

0812-rotate-string

Sorting

0056-merge-intervals
0169-majority-element
0242-valid-anagram
0268-missing-number
0451-sort-characters-by-frequency
0721-accounts-merge
0883-car-fleet

Depth-First Search

0130-surrounded-regions
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0547-number-of-provinces
0695-max-area-of-island
0721-accounts-merge
0733-flood-fill
0744-network-delay-time
0801-is-graph-bipartite
0820-find-eventual-safe-states
0854-making-a-large-island
1073-number-of-enclaves
1442-number-of-operations-to-make-network-connected
1663-detect-cycles-in-2d-grid
1753-path-with-minimum-effort

Breadth-First Search

0127-word-ladder
0130-surrounded-regions
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0547-number-of-provinces
0695-max-area-of-island
0721-accounts-merge
0733-flood-fill
0744-network-delay-time
0801-is-graph-bipartite
0820-find-eventual-safe-states
0854-making-a-large-island
1036-rotting-oranges
1073-number-of-enclaves
1171-shortest-path-in-binary-matrix
1442-number-of-operations-to-make-network-connected
1663-detect-cycles-in-2d-grid
1753-path-with-minimum-effort

Union Find

0128-longest-consecutive-sequence
0130-surrounded-regions
0200-number-of-islands
0547-number-of-provinces
0695-max-area-of-island
0721-accounts-merge
0801-is-graph-bipartite
0854-making-a-large-island
1073-number-of-enclaves
1442-number-of-operations-to-make-network-connected
1663-detect-cycles-in-2d-grid
1753-path-with-minimum-effort

Graph

0207-course-schedule
0210-course-schedule-ii
0547-number-of-provinces
0744-network-delay-time
0801-is-graph-bipartite
0820-find-eventual-safe-states
1442-number-of-operations-to-make-network-connected

Heap (Priority Queue)

0451-sort-characters-by-frequency
0744-network-delay-time
1753-path-with-minimum-effort

Bucket Sort

0451-sort-characters-by-frequency

Counting

0169-majority-element
0451-sort-characters-by-frequency

Bit Manipulation

0268-missing-number

Divide and Conquer

0169-majority-element

Topological Sort

0207-course-schedule
0210-course-schedule-ii
0820-find-eventual-safe-states

Shortest Path

0744-network-delay-time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published