/CodeNotes

Collection of My LeetCode Questions

Primary LanguageC++

CodeNotes

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

Hash Table

1364-tuple-with-same-product
1915-check-if-one-string-swap-can-make-strings-equal
2685-first-completely-painted-row-or-column
2766-find-the-prefix-common-array-of-two-arrays
3455-minimum-length-of-string-after-operations

String

1915-check-if-one-string-swap-can-make-strings-equal
3447-clear-digits
3455-minimum-length-of-string-after-operations

Counting

1364-tuple-with-same-product
1396-count-servers-that-communicate
1915-check-if-one-string-swap-can-make-strings-equal
3455-minimum-length-of-string-after-operations

Array

0407-trapping-rain-water-ii
0854-making-a-large-island
1364-tuple-with-same-product
1396-count-servers-that-communicate
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1876-map-of-highest-peak
1927-maximum-ascending-subarray-sum
2533-bitwise-xor-of-all-pairings
2685-first-completely-painted-row-or-column
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor
3219-make-lexicographically-smallest-array-by-swapping-elements

Bit Manipulation

2509-minimize-xor
2533-bitwise-xor-of-all-pairings
2766-find-the-prefix-common-array-of-two-arrays
2792-neighboring-bitwise-xor

Greedy

2509-minimize-xor

Brainteaser

2533-bitwise-xor-of-all-pairings

Breadth-First Search

0407-trapping-rain-water-ii
0684-redundant-connection
0820-find-eventual-safe-states
0854-making-a-large-island
1396-count-servers-that-communicate
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1558-course-schedule-iv
1876-map-of-highest-peak

Graph

0684-redundant-connection
0820-find-eventual-safe-states
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting

Heap (Priority Queue)

0407-trapping-rain-water-ii
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Matrix

0407-trapping-rain-water-ii
0854-making-a-large-island
1396-count-servers-that-communicate
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1876-map-of-highest-peak
2685-first-completely-painted-row-or-column

Shortest Path

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Depth-First Search

0684-redundant-connection
0820-find-eventual-safe-states
0854-making-a-large-island
1396-count-servers-that-communicate
1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting

Union Find

0684-redundant-connection
0854-making-a-large-island
1396-count-servers-that-communicate
3219-make-lexicographically-smallest-array-by-swapping-elements

Topological Sort

0820-find-eventual-safe-states
1558-course-schedule-iv
2246-maximum-employees-to-be-invited-to-a-meeting

Sorting

3219-make-lexicographically-smallest-array-by-swapping-elements

Math

2802-find-the-punishment-number-of-an-integer
3739-manhattan-distances-of-all-arrangements-of-pieces

Combinatorics

3739-manhattan-distances-of-all-arrangements-of-pieces

Stack

3447-clear-digits

Simulation

3447-clear-digits

Backtracking

2802-find-the-punishment-number-of-an-integer