by chickenpotpie · 4y ago · 0 comments
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.
Edit: I've posted this same comment in multiple places in this conversation to get feedback from specific commenters, not as spam (it's a old personal project)