Back to DSA notes

Learning roadmap

Linear Structures

Choose a goal, then follow each stage as an ordered, explained outline.

Learning goal

Learn deeply

Build a durable mental model, then transfer it into a working application.

Foundation

Stage purpose: Establish the vocabulary and first working mental model.

Required background: Complete the linked prerequisites below or bring equivalent experience.

Expected outcome: Explain the core idea and use it in a small example.

Estimated time: 30 minutes

  1. Lesson · Estimated time: 30 minutes

    Strings — 11 Problems, Every Trick

    Outcomes
    • Explain the core idea in Strings — 11 Problems, Every Trick
    • Apply Strings — 11 Problems, Every Trick in a representative exercise

    Prerequisites: No prerequisite topics

    Evidence: Practise the outcome in code and record what you learned.

    Current status: Not started

    Recommended next: Stacks — Ten Problems, Every Pattern — Carry the Strings — 11 Problems, Every Trick mental model into the next step with a concrete transfer exercise.

Core concepts

Stage purpose: Connect the concepts into a repeatable problem-solving model.

Required background: Complete the linked prerequisites below or bring equivalent experience.

Expected outcome: Apply the model to a representative exercise without copying a recipe.

Estimated time: 30 minutes

  1. Lesson · Estimated time: 30 minutes

    Stacks — Ten Problems, Every Pattern

    Outcomes
    • Explain the core idea in Stacks — Ten Problems, Every Pattern
    • Apply Stacks — Ten Problems, Every Pattern in a representative exercise

    Prerequisites: Strings — 11 Problems, Every Trick

    Evidence: Practise the outcome in code and record what you learned.

    Current status: Not started

    Recommended next: Queues — Five Problems — Carry the Stacks — Ten Problems, Every Pattern mental model into the next step with a concrete transfer exercise.

Applied transfer

Stage purpose: Transfer the concepts into a realistic implementation task.

Required background: Complete the linked prerequisites below or bring equivalent experience.

Expected outcome: Produce a small artifact that proves the decision works.

Estimated time: 60 minutes

  1. Lesson · Estimated time: 30 minutes

    Queues — Five Problems

    Outcomes
    • Explain the core idea in Queues — Five Problems
    • Apply Queues — Five Problems in a representative exercise

    Prerequisites: Stacks — Ten Problems, Every Pattern

    Evidence: Practise the outcome in code and record what you learned.

    Current status: Not started

    Recommended next: Heaps & Priority Queues — Five Problems — Carry the Queues — Five Problems mental model into the next step with a concrete transfer exercise.

  2. Lesson · Estimated time: 30 minutes

    Heaps & Priority Queues — Five Problems

    Outcomes
    • Explain the core idea in Heaps & Priority Queues — Five Problems
    • Apply Heaps & Priority Queues — Five Problems in a representative exercise

    Prerequisites: Queues — Five Problems

    Evidence: Practise the outcome in code and record what you learned.

    Current status: Not started

    Recommended next: Complete this path by applying these outcomes in your own project.