Collection of LeetCode solutions categorized by fundamental algorithmic techniques:
- Two Pointers
- Binary Search
- Binary Search on the Answer
- Binary Search on Float Number + Ternary Search
- Greedy
- Recursion + Backtracking
- Divide and Conquer
This is the multi-page printable view of this section. Click here to print.
Collection of LeetCode solutions categorized by fundamental algorithmic techniques:
Problems that demonstrate the effective use of two pointers technique to solve algorithmic challenges. This technique is particularly useful for array and string problems where we need to find pairs or process elements from both ends.
Problems that demonstrate the effective use of binary search algorithm to solve algorithmic challenges. This technique is used to efficiently search for elements in sorted arrays or to find optimal values in monotonic search spaces.
Problems that demonstrate the effective use of binary search technique to find the optimal answer in the solution space.
Problems that demonstrate the effective use of binary search on floating-point numbers and ternary search techniques to solve algorithmic challenges.
Problems that demonstrate the effective use of greedy algorithms and techniques to solve algorithmic challenges.
Problems that demonstrate the effective use of recursion and backtracking techniques to solve algorithmic challenges.
Problems that demonstrate the effective use of divide and conquer algorithms to solve algorithmic challenges.