Back to Questions

Implement a Graph (Adjacency Matrix)

68.5K viewsAsked at Airbnb
Medium

Question Explain

Design a graph data structure using an Adjacency Matrix. Implement methods for adding edges and checking if a path exists between two nodes.

Start Trying This Question Simulation

Practice answering orally or with text to get instant AI feedback.

Practice with This Question
Implement a Graph (Adjacency Matrix) - Interview Question