-
Bulb Switcher - Easy explanation
Brainteaser
C++
Math
Medium
-
Restore The Array - Step-by-step recursive memoization
C++
Dynamic Programming
Hard
Memoization
Recursion
String
-
Smallest Number in Infinite Set - Hashset, Min heap based solutions
C++
Design
Hash Table
Heap (Priority Queue)
Medium
Ordered Set
-
Profitable Schemes - Memoization step by step
Array
C++
Depth-First Search
Dynamic Programming
Hard
Memoization
-
Maximum Width of Binary Tree - Step by step BFS
Binary Tree
Breadth-First Search
C++
Depth-First Search
Medium
Tree
-
Reduction Operations to Make the Array Elements Equal - Sort and count using hashmap [Short + Easy]
Array
C++
Hash Table
Medium
Sorting
-
Minimum Additions to Make Valid String - Multiple solutions explained
C++
Dynamic Programming
Greedy
Medium
Stack
String
-
Maximum Value of K Coins From Piles - Bottom-up DP explained
Array
C++
Dynamic Programming
Hard
Prefix Sum