C#C
C#3y ago
12 replies
Loup&Snoop

❔ Best data structure for graph?

I need to represent a directed graph, and I’m going to need to very rapidly do various operations when something happens at one node/vertex. I could represent my graph with Dictionaries, but is there a better way?

Q: What data structures are most appropriate to work with graphs?
Was this page helpful?