DS & Algo Interview

  • Patterns
    • Sliding Window

    • Two Pointer

    • Fast & Slow Pointers

    • Merge Intervals

    • Cyclic Sort

    • In-place Reversal of a LinkedList

    • Tree BFS

    • Tree DFS

    • Two Heaps

    • Subsets

    • Modified Binary Search

    • Bitwise XOR

    • Top 'K' Elements

    • K-Way Merge

    • 0-1 Knapsack

    • Unbounded Knapsack

    • Fibonacci Numbers

    • Palindromic Subsequence

    • LCS

    • Topological Sort

    • Trie Traversal

    • Number of Island

    • Trial & Error (Backtracking)

    • Union Find

    • Unique Paths

Need to review:

1,

References