LeetCode
LeetCode 851: Loud and Rich
·2 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Loud and Rich, rebuilt from the original learning note
LeetCode 802: Find Eventual Safe States
·3 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Find Eventual Safe States, rebuilt from the original learning note
LeetCode 1203: Sort Items by Groups Respecting Dependencies
·3 mins
LeetCode
Hard
Graph
Topological-Sort
LeetCode note for Sort Items by Groups Respecting Dependencies, rebuilt from the original learning note
LeetCode 310: Minimum Height Trees
·2 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Minimum Height Trees, rebuilt from the original learning note
LeetCode 2115: Find All Possible Recipes from Given Supplies
·3 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Find All Possible Recipes from Given Supplies, rebuilt from the original learning note
LeetCode 2192: All Ancestors of a Node in a DAG
·3 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for All Ancestors of a Node in a DAG, rebuilt from the original learning note
LeetCode 210: Course Schedule II
·2 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Course Schedule II, rebuilt from the original learning note
LeetCode 207: Course Schedule
·2 mins
LeetCode
Medium
Graph
Topological-Sort
LeetCode note for Course Schedule, rebuilt from the original learning note
LeetCode 1971: Find if Path Exists in Graph
·2 mins
LeetCode
Easy
Graph
Union-Find
LeetCode note for Find if Path Exists in Graph, rebuilt from the original learning note
LeetCode 901: Online Stock Span
·2 mins
LeetCode
Daily
Medium
Stack
Monotonic-Stack
Data-Structures
Design
Design-Patterns
Stock
Solving the Online Stock Span problem using monotonic stack approach
LeetCode 853: Car Fleet
·2 mins
LeetCode
Daily
Medium
Array
Stack
Greedy
Simulation
Sorting
Solving the Car Fleet problem using stack-based approach
LeetCode 84: Largest Rectangle in Histogram
·3 mins
LeetCode
Daily
Hard
Array
Stack
Monotonic-Stack
Dynamic-Programming
Geometry
Histogram
Solving the Largest Rectangle in Histogram problem using monotonic stack approach