Leetcode
Dynamic Programming - 0/1 Knapsack Dynamic Programming - 0/1 Knapsack
Dynamic Programming - 0/1 Knapsack. Dynamic Programming has two characteristics: 1) overlapping subproblems 2) optimal s
LC 2034 LC 2034
Solution to LeetCode 2034 Stock Price Fluctuation LeetCode 2034Stock Price Fluctuation (Medium). [link] Use a HashMap to
2022-07-23
Skill Set - Topological Sort (Graph) Skill Set - Topological Sort (Graph)
Skills for tackling LeetCode problems - Topological Sort (Graph). Topological Sort is used to find a linear ordering of
2022-07-22
LC 1332 LC 1332
Solution to LeetCode 1332 Remove Palindromic Subsequences. LeetCode 1332Remove Palindromic Subsequences (Easy). [link] A
2022-07-21
Skill Set - 0/1 Knapsack Skill Set - 0/1 Knapsack
Skills for tackling LeetCode problems - 0/1 Knapsack. 0/1 Knapsack can be efficiently solved by Memoization and Bottom-U
2022-07-20
Skill Set - K-Way Merge Skill Set - K-Way Merge
Skills for tackling LeetCode problems - K-Way Merge. We can use Min Heap to make a sorted traversal of all elements in m
2022-07-19
Skill Set - Heap for Top K Numbers Skill Set - Heap for Top K Numbers
Skills for tackling LeetCode problems - Heap for Top K Numbers. Heap can be used to efficiently solve problems dealing w
2022-07-18
Skill Set - Bitwise XOR Skill Set - Bitwise XOR
Skills for tackling LeetCode problems - Bitwise XOR. XOR is a logical bitwise operator that returns 0 (false) if both bi
2022-07-17
Skill Set - Modified Binary Search Skill Set - Modified Binary Search
Skills for tackling LeetCode problems - Modified Binary Search. Binary search can be used to find a certain element in a
2022-07-16
Skill Set - BFS for Subsets Skill Set - BFS for Subsets
Skills for tackling LeetCode problems - BFS for Subsets. BFS is efficient to deal with permutations and combinations of
2022-07-15
LC 1220 LC 1220
Solution to LeetCode 1220 Count Vowels Permutation. LeetCode 1220Count Vowels Permutation (Hard). [link] Dynamic Progra
Skill Set - Two Heaps Skill Set - Two Heaps
Skills for tackling LeetCode problems - Two Heaps. Two heaps pattern is efficient in finding the smallest element in one
2022-07-13
2 / 18