Skip to content
Tech Interview Prep

Graphs

Nodes and edges generalizing trees to arbitrary connections: cycles, multiple parents, and disconnected components all allowed.

  • Overview

    The Graphs guide: how it works, the trade-offs interviewers ask about, and the mistakes to avoid.

    3 min read

  • Graphs Interview Q&A

    Interview questions to answer out loud first, then compare with a model answer.

    25 Q&A

  • Graphs MCQs

    Multiple-choice checks with five options and an explanation for every answer.

    25 MCQs