AlbertWeirdo / Leetcode

2 stars 0 forks source link

Leetcode

LeetCode Topics

Array

0350-intersection-of-two-arrays-ii
0870-magic-squares-in-grid
0948-sort-an-array
1207-delete-nodes-and-return-forest
1293-three-consecutive-odds
1333-sort-the-jumbled-numbers
1496-lucky-numbers-in-a-matrix
1511-count-number-of-teams
1711-find-valid-matrix-given-row-and-column-sums
1720-crawler-log-folder
1741-sort-array-by-increasing-frequency
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2306-create-binary-tree-from-descriptions
2502-sort-the-people

Hash Table

0350-intersection-of-two-arrays-ii
0870-magic-squares-in-grid
1207-delete-nodes-and-return-forest
1741-sort-array-by-increasing-frequency
2306-create-binary-tree-from-descriptions
2502-sort-the-people

String

1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
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
2502-sort-the-people

Sorting

0350-intersection-of-two-arrays-ii
0948-sort-an-array
1333-sort-the-jumbled-numbers
1741-sort-array-by-increasing-frequency
2379-maximum-total-importance-of-roads
2502-sort-the-people

Divide and Conquer

0948-sort-an-array
1285-balance-a-binary-search-tree

Heap (Priority Queue)

0948-sort-an-array
2379-maximum-total-importance-of-roads

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Tree

1114-binary-search-tree-to-greater-sum-tree
1207-delete-nodes-and-return-forest
1285-balance-a-binary-search-tree
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

1114-binary-search-tree-to-greater-sum-tree
1207-delete-nodes-and-return-forest
1285-balance-a-binary-search-tree
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1653-number-of-good-leaf-nodes-pairs
2217-step-by-step-directions-from-a-binary-tree-node-to-another

Binary Search Tree

0350-intersection-of-two-arrays-ii
1114-binary-search-tree-to-greater-sum-tree
1285-balance-a-binary-search-tree

Binary Tree

1114-binary-search-tree-to-greater-sum-tree
1207-delete-nodes-and-return-forest
1285-balance-a-binary-search-tree
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

Greedy

1285-balance-a-binary-search-tree
1711-find-valid-matrix-given-row-and-column-sums
1818-maximum-score-from-removing-substrings
2379-maximum-total-importance-of-roads

Graph

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
1916-find-center-of-star-graph
2379-maximum-total-importance-of-roads

Breadth-First Search

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph

Topological Sort

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph

Two Pointers

0350-intersection-of-two-arrays-ii

Linked List

2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points

Math

0870-magic-squares-in-grid
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2645-pass-the-pillow

Simulation

1642-water-bottles
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2645-pass-the-pillow

Recursion

1951-find-the-winner-of-the-circular-game

Queue

1951-find-the-winner-of-the-circular-game

Stack

1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1756-minimum-deletions-to-make-string-balanced
1818-maximum-score-from-removing-substrings

Matrix

0870-magic-squares-in-grid
1496-lucky-numbers-in-a-matrix
1711-find-valid-matrix-given-row-and-column-sums

Dynamic Programming

1511-count-number-of-teams
1756-minimum-deletions-to-make-string-balanced

Binary Indexed Tree

1511-count-number-of-teams