1. Cache Replacement Policieshistorical

    LRU, LFU, FIFO, random and modern approximate policies, with workload-dependent hit-rate trade-offs.

  2. Dynamic Programminghistorical

    Solving overlapping subproblems with memoization/tabulation by defining state, transition, initialization, and answer.

  3. Greedy Algorithmshistorical

    Making locally optimal choices only when the problem structure proves they compose into a global optimum.

  4. Divide and Conquerhistorical

    Split a problem into smaller independent subproblems, solve them, then combine their results.

  5. Recursionhistorical

    Recursive problem decomposition, base cases, call-stack cost, tail recursion caveats, and iterative alternatives.

  6. Backtrackinghistorical

    Search a decision tree by choose–recurse–undo, with pruning and state management.

  7. Depth-First Searchhistorical

    Recursive or explicit-stack DFS for graphs/trees, visitation state, cycle handling, and complexity.

  8. Binary Searchhistorical

    Logarithmic search over a monotonic/sorted domain, including boundary variants.

  9. Bubble Sorthistorical

    Adjacent-swap sorting with quadratic time and mainly educational value.

  10. Linear Searchhistorical

    Sequentially scanning elements when no useful index/order exists.

  11. Heap Sorthistorical

    In-place comparison sorting using heap construction followed by repeated root extraction.

  12. Merge Sorthistorical

    Stable O(n log n) divide-and-conquer sorting by merging sorted halves.

  13. Insertion Sorthistorical

    Stable in-place insertion into a sorted prefix, efficient for small or nearly sorted inputs.

  14. Quick Sorthistorical

    Partition-based sorting with O(n log n) expected time, pivot selection, and worst-case safeguards.

  15. Selection Sorthistorical

    Repeatedly selecting the minimum/maximum with quadratic comparisons and few swaps.

  16. Sorting Algorithms Overviewhistorical

    Comparing sorting algorithms by time, space, stability, adaptiveness, locality, and data constraints.