logoalt Hacker News

Start Doing Graph Theory

210 points • by ibobev • last Friday at 1:49 PM • 32 comments • view on HN

Comments

gortok • today at 12:32 PM

A problem I didn’t even conceive of a year ago was whether or not a book was written by a human.

This author has done nothing to deserve that scrutiny, but I can’t escape the feeling now of having to be guarded when I see a new book online with a relatively short history (spring 2026 is the earliest version of this text), as I can’t be sure it’s either “AI-enhanced” or AI-written.

I don’t like this feeling and it dampers any enthusiasm I once had for being excited about stuff like this.

That aside, if the author did write this themselves without AI, kudos to them and their acheivement!

➕ show 2 replies
mcv • today at 12:06 PM

I've been doing a lot with graphs over the past couple of years. Basically since I started using neo4j, although not everything involves neo4j directly. I've developed a number of really interesting graph algorithms, but I'm always a bit disappointed by how little use I get out of my graph theory knowledge. I've never needed a Hamilton path or do something with the degrees of my vertices. It's all just logic and intuition.

But maybe I should read this to see if there's anything that applies to my current work.

➕ show 1 reply
hackerbrother • today at 11:44 AM

Cool. I am applying to jobs and it seems graph theory is popular in the "Leet Code" questions pace. So very timely, thank you! And clever domain name :)

igleria • today at 10:34 AM

not super fond of my memories of having to come up with a graph demonstration on a fixed time on a paper exam, but at least I can say I was once a person that could do that!

dominicrose • today at 1:10 PM

It seems the "Web server is down" for this link.

armcat • today at 12:06 PM

Graphs are fantastic - PageRank [1] that powered Google Search (still does to some extent), TextRank for extractive text summarisation [2], Louvain for neighbourhood detection [3] all use graphs, as well as tonnes of others like belief propagation, Markov clustering, A*, and so on. So yeah, learn it.

[1] https://en.wikipedia.org/wiki/PageRank

[2] https://aclanthology.org/W04-3252.pdf

[3] https://en.wikipedia.org/wiki/Louvain_method

matt_daemon • today at 12:20 PM

If you like graph theory Dijkstra’s in Disguise is a great read: https://blog.evjang.com/2018/08/dijkstras.html

Related HN thread: https://news.ycombinator.com/item?id=17745779

vorobeez • today at 10:45 AM

It's unfortunate that the book doesn't have solutions for practice problems. Which makes it hard to use for self-learning.

➕ show 3 replies
throwaw12 • today at 10:38 AM

that background is so annoying to my eyes when scrolling the content, would be great if author can fix it

ultimaterr • today at 12:24 PM

what applications is this useful for? node topology is already a solved problem for decentralized networks since most validators are on aws. unless this is for fun? theres finite space to order nodes topologically speaking tbh

➕ show 2 replies
rdevilla • today at 10:40 AM

[dead]

cedarbyte482 • today at 10:44 AM

This is great, graphs is also the answer to autonomous coding :D

➕ show 2 replies
Krea8ly • today at 1:20 PM

[flagged]