The Palindrome

The Palindrome

Representing Graphs

A visual introduction

Alberto Gonzalez's avatar
Tivadar Danka's avatar
Alberto Gonzalez and Tivadar Danka
Sep 13, 2025
∙ Paid

Hello there!

Today, we will be diving into one of the most common ways of representing data and modeling problems (and solutions) in computer science: graphs.

Now that we know some basic definitions of graph theory, it is time to see how graphs can be represented in a program. We will explore the most common representations and analyze their pros and cons.

At the end of the post, you will find some algorithmic challenges so you can try and apply some of the topics that I will explain today. Feel free to skip to that part if you think you already have the necessary skills to solve them.

Let’s begin!

User's avatar

Continue reading this post for free, courtesy of Tivadar Danka.

Or purchase a paid subscription.
© 2026 Tivadar Danka · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture