TechRat

Computer Science

Data Structures and Algorithms roadmap

Build a strong DSA foundation and master the problem-solving patterns used in technical interviews.

Before you start

What you will learn

  1. 1. Arrays, Strings & Hashing

    The everyday data structures: arrays, strings, hash tables and sets.

  2. 2. Linked Lists, Stacks & Queues

    Linear structures and when to reach for a linked list, a stack or a queue.

  3. 3. Searching & Sorting

    Sorting algorithms and binary search, and the trade-offs between them.

  4. 4. Trees & Heaps

    Binary trees and heaps, the structures behind hierarchies and priority queues.

  5. 5. Graphs & Traversal

    Model relationships as graphs and explore them with BFS and DFS.

  6. 6. Two Pointers & Sliding Window

    Two classic patterns that turn quadratic scans over arrays and strings into linear ones.

  7. 7. Matrices & Prefix Sums

    Work with grids and matrices and answer range queries fast with prefix sums.

  8. 8. Tree Traversal & Divide and Conquer

    Recursive algorithms that split a problem into smaller ones: tree traversals and divide and conquer.

  9. 9. Greedy & Intervals

    Greedy choices and the interval problems, like merging and scheduling, where they shine.

  10. 10. Search Trees, Tries & String Algorithms

    Ordered lookups with binary search trees, prefix search with tries and classic string algorithms.

  11. 11. Backtracking & Dynamic Programming

    Search solution spaces with backtracking and avoid repeated work with dynamic programming.

  12. 12. Advanced Graph Algorithms

    Topological sort, shortest paths and union-find for dependency, routing and connectivity problems.

Each step unlocks when you answer its questions well enough, and a module you finish counts in every roadmap that shares it.

Start this roadmap for free