Graphs

Challenges: 8Medium: 4Hard: 4

This Graphs set gathers 8 coding problems, with a mix of 4 medium, 4 hard. They show up in interviews at companies like Amazon, Careem, Google, SWVL, Uber, so you can master the pattern once and recognize it everywhere.

Graphs coding problems

  • Cache Invalidation Planner

    Difficulty: HardAsked by: Amazon, Careem, Google
  • Cross Region Failover Path

    Difficulty: HardAsked by: SWVL, Uber
  • Cyclic Dependency Detector

    Difficulty: MediumAsked by: Amazon, Meta
  • Fraud Ring Components

    Difficulty: HardAsked by: Fawry, Meta
  • Detect Cycle in Directed Graph

    Difficulty: MediumAsked by: Siemens EDA
  • Keys and Rooms

    Difficulty: MediumAsked by: Careem
  • Number of Islands

    Difficulty: MediumAsked by: Dubizzle, Noon
  • Minimum Spanning Tree (Prim's)

    Difficulty: HardAsked by: Nokia Egypt

Asked by

Ready to practice for real?

Work through Graphs problems in the editor, run your code, and check your solution against real test cases.

Practice coding challenges, start free