Summary

In this chapter, you learned about graph data structures. We used visual representations of graphs to gain a better understanding of how they are structured and how they can be used. Next, we examined the most common operations when working with graphs and discussed their typical complexity cost. Following this, we created our own simple graph node object and graph data structure class from scratch in each of the four languages we have examined in this book.

Get Everyday Data Structures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.