Check out my first novel, midnight's simulacra!

Tarjan's Least Common Ancestors Algorithm