Useful posts from LeetCode discussions for personal use and concept revision
4736

These're the posts that I'm using for concept revision and for improving on struggling concepts. The links are given in a more or less relevantly sorted order.

Binary Search
https://leetcode.com/discuss/study-guide/786126/Python-Powerful-Ultimate-Binary-Search-Template.-Solved-many-problems

Two Pointers
https://leetcode.com/problems/subarray-sum-equals-k/discuss/301242/General-summary-of-what-kind-of-problem-can-cannot-solved-by-Two-Pointers

2,3,k-sums
https://leetcode.com/problems/two-sum/discuss/737092/Sum-MegaPost-Python3-Solution-with-a-detailed-explanation

Monotic queue and stacks
https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k/discuss/204290/Monotonic-Queue-Summary
https://leetcode.com/problems/sum-of-subarray-minimums/discuss/178876/stack-solution-with-very-detailed-explanation-step-by-step

K-th smallest
https://leetcode.com/problems/k-th-smallest-prime-fraction/discuss/115819/summary-of-solutions-for-problems-reducible-to-leetcode-378

Prefix Sum
https://leetcode.com/discuss/general-discussion/563022/prefix-sum-problems

Bit Manipulation
https://leetcode.com/problems/sum-of-two-integers/discuss/84278/A-summary%3A-how-to-use-bit-manipulation-to-solve-problems-easily-and-efficiently

Greedy
https://leetcode.com/discuss/general-discussion/1061059/ABCs-of-Greedy

Backtracking
https://leetcode.com/problems/permutations/discuss/18284/Backtrack-Summary:-General-Solution-for-10-Questionsh

DP
https://leetcode.com/discuss/general-discussion/458695/dynamic-programming-patterns

Buy & Sell Stock
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/discuss/108870/Most-consistent-ways-of-dealing-with-the-series-of-stock-problems

Graph Algorithms in Python
https://leetcode.com/discuss/general-discussion/971272/Python-Graph-Algorithms-One-Place-for-quick-revision

Comments (6)