Skip to content

Ash-codes18/Cpp_DSA

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

Dynamic Programming

0062-unique-paths
0063-unique-paths-ii
1488-sort-integers-by-the-power-value
1659-get-the-maximum-score
1849-maximum-absolute-sum-of-any-subarray

Memoization

1488-sort-integers-by-the-power-value

Sorting

0621-task-scheduler
1488-sort-integers-by-the-power-value

Tree

0099-recover-binary-search-tree
0955-complete-binary-tree-inserter
2493-reverse-odd-levels-of-binary-tree
2677-cousins-in-binary-tree-ii

Depth-First Search

0099-recover-binary-search-tree
0133-clone-graph
0854-making-a-large-island
1396-count-servers-that-communicate
2493-reverse-odd-levels-of-binary-tree
2677-cousins-in-binary-tree-ii

Breadth-First Search

0133-clone-graph
0854-making-a-large-island
0955-complete-binary-tree-inserter
1396-count-servers-that-communicate
1876-map-of-highest-peak
2493-reverse-odd-levels-of-binary-tree
2677-cousins-in-binary-tree-ii

Binary Tree

0099-recover-binary-search-tree
0955-complete-binary-tree-inserter
2493-reverse-odd-levels-of-binary-tree
2677-cousins-in-binary-tree-ii

String

1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
1537-maximum-score-after-splitting-a-string
3309-count-prefix-and-suffix-pairs-i

Prefix Sum

0303-range-sum-query-immutable
1477-product-of-the-last-k-numbers
1537-maximum-score-after-splitting-a-string

Array

0063-unique-paths-ii
0189-rotate-array
0303-range-sum-query-immutable
0373-find-k-pairs-with-smallest-sums
0621-task-scheduler
0854-making-a-large-island
1331-path-with-maximum-gold
1396-count-servers-that-communicate
1477-product-of-the-last-k-numbers
1659-get-the-maximum-score
1849-maximum-absolute-sum-of-any-subarray
1876-map-of-highest-peak
2116-count-number-of-pairs-with-absolute-difference-k
2685-first-completely-painted-row-or-column
3309-count-prefix-and-suffix-pairs-i

Trie

3309-count-prefix-and-suffix-pairs-i

Rolling Hash

3309-count-prefix-and-suffix-pairs-i

String Matching

3309-count-prefix-and-suffix-pairs-i

Hash Function

3309-count-prefix-and-suffix-pairs-i

Hash Table

0133-clone-graph
0621-task-scheduler
2116-count-number-of-pairs-with-absolute-difference-k
2429-design-a-food-rating-system
2455-node-with-highest-edge-score
2677-cousins-in-binary-tree-ii
2685-first-completely-painted-row-or-column

Graph

0133-clone-graph
2455-node-with-highest-edge-score

Binary Search Tree

0099-recover-binary-search-tree

Two Pointers

0189-rotate-array
1659-get-the-maximum-score

Greedy

0621-task-scheduler
1659-get-the-maximum-score

Matrix

0063-unique-paths-ii
0854-making-a-large-island
1331-path-with-maximum-gold
1396-count-servers-that-communicate
1876-map-of-highest-peak
2685-first-completely-painted-row-or-column

Math

0062-unique-paths
0189-rotate-array
1477-product-of-the-last-k-numbers

Union Find

0854-making-a-large-island
1396-count-servers-that-communicate

Counting

0621-task-scheduler
1396-count-servers-that-communicate
2116-count-number-of-pairs-with-absolute-difference-k

Design

0303-range-sum-query-immutable
0955-complete-binary-tree-inserter
1477-product-of-the-last-k-numbers
2429-design-a-food-rating-system

Heap (Priority Queue)

0373-find-k-pairs-with-smallest-sums
0621-task-scheduler
2429-design-a-food-rating-system

Ordered Set

2429-design-a-food-rating-system

Data Stream

1477-product-of-the-last-k-numbers

Combinatorics

0062-unique-paths

Backtracking

1331-path-with-maximum-gold
1516-the-k-th-lexicographical-string-of-all-happy-strings-of-length-n