← all posts

Four-Letter Words in a Graph, in Two Minutes

How many four-letter words are there, how many are one letter apart, and can every word reach every other word? I put the answers in a short video.

It is the quick version of How Many Connected Four-Letter Words Are There?, where I loaded every four-letter word into Neo4j, linked the words that differ by one letter, and used Cypher and Graph Data Science to answer the questions. The post has all the queries if you want to build the graph yourself.