Comment

Comment by chickenpotpie

Under the hood, almost every data structure is a graph.

Linked lists, trees, and heaps are all just graphs with certain requirements about their structure.

Everything else can be represented as a graph, just not as elegantly.

Also as a data point, I really really wish there was an everything is a graph language. I work in graphs all day (in the private industry) and I have to keep modeling them as arrays. It's a pain.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton