Easy
LeetCode 121: Best Time To Buy And Sell Stock
·2 mins
LeetCode
Easy
Dynamic-Programming
State-Machine
LeetCode note for Best Time To Buy And Sell Stock, rebuilt from the original learning note
LeetCode 746: Min Cost Climbing Stairs
·2 mins
LeetCode
Easy
Dynamic-Programming
LeetCode note for Min Cost Climbing Stairs, rebuilt from the original learning note
LeetCode 70: Climbing Stairs
·2 mins
LeetCode
Easy
Dynamic-Programming
LeetCode note for Climbing Stairs, 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 20: Valid Parentheses
·2 mins
LeetCode
Daily
Easy
String
Stack
Data-Structures
Parentheses
Validation
Solving the Valid Parentheses problem using stack-based approach
LeetCode 496: Next Greater Element I (Monotonic Stack)
·2 mins
LeetCode
Daily
Easy
Array
Stack
Monotonic-Stack
Hash-Map
Next-Greater-Element
Monotonic decreasing stack over nums2 to build next-greater map; answer queries for nums1.
LeetCode 1071: Greatest Common Divisor of Strings
·2 mins
LeetCode
Daily
Easy
String
Gcd
Math
LeetCode Problem Solving
LeetCode 643: Maximum Average Subarray I
·1 min
LeetCode
Daily
Easy
Sliding-Window
LeetCode Problem Solving
LeetCode 1550: Three Consecutive Odds
·1 min
LeetCode
Easy
Array
LeetCode Problem Solving
LeetCode 1399: Count Largest Group
·1 min
LeetCode
Daily
Easy
Hash-Map
LeetCode Problem Solving
LeetCode 2325: Decode the Message
·1 min
LeetCode
Daily
Easy
Hash-Map
LeetCode Problem Solving
LeetCode 724: Find Pivot Index
·2 mins
LeetCode
Daily
Easy
Prefix-Sum
LeetCode Problem Solving