
Algorithms on strings, trees, and sequences
by Dan Gusfield · first published 1997
7mentions
3recommended by
6HN commenters
2012–2025first – last mentioned
50% recommend50% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

![Cover of The design and evolution of C[plus plus]](https://covers.hackerbooks.org/c/135125.webp)






…seeing a video of ATP synthase in action [1]. Now, I know stuff like that doesn't have a lot to do with what is done in computational biology, but it did fire the imagination. I'm working my way through Algorithms on Strings, Trees, and Sequences - Computer Science and Computational Biology by Dan Gusfield [2], and have implemented (with tests) all of the algorithms encountered thus far in addition to some of the exercises [3]. So far, I really…
on “Ten Simple Rules for Starting a Company [PLoS Computational Biology]” ↗This appears to be just reinvention of known algorithms on suffix trees. I recommend (and recommended as a comment on the original article) Dan Gusfield's book "Algorithms on Strings, Trees, and Sequences" which does a pretty thorough job of covering the relevant algorithms and data structures.
on “Compressing Scrabble Dictionaries” ↗I've not read that textbook, but another excellent text is "Algorithms on Strings, Trees, and Sequences" by Dan Gusfield (http://www.amazon.ca/Algorithms-Strings-Trees-Sequences-Comp...). It has a strong bioinformatics leaning, so you learn all sorts of interesting near-real-world applications for the algorithms.…
on “Ukkonen's suffix tree algorithm explained in plain English” ↗…decreasing order of "easiness") - Python Algorithms - The Algorithm Design Manual - CLRS - Algorithms in Java (somehow I found CLRS easier to follow than this) - And then I found this recently, "Algorithms on Strings,Trees and Sequences: Computer Science and Computational Biology" (one should have at least gone through the first two recommendations before starting with this one to make it easier to read this one) Disclaimer : I have…
on “Books Programmers Don't Really Read (2008)” ↗Dan Gusfield wrote a book in 1997 entitled "Algorithms on strings, trees and sequences: Computer Science and Computational Biology". We (what was then the Center for Advanced Study of Language at the University of Maryland) found some of the techniques described there to be useful in (natural)…
on “A review on protein language models” ↗…length /of the pattern/ - i.e. O(p). The suffix tree stores all suffixes of a string in a compressed manner (i.e. it has a linear space overhead, approximately O(20n) as given by Gusfield, D. (1997). Algorithms on Strings, Trees and Sequences: Computer Science and Computational Biology. Cambridge University Press), so you can search for a word in it by simply traversing from the root node to an internal or leaf node by following a sequence…
on “Bzip3: A spiritual successor to BZip2” ↗To me, a lot of this divide is between books I read cover to cover and books I consider references or pick up for very specific sections (like "Algorithms on Strings, Trees and Sequences"). CLRS, TAOCP, and Gang of Four are all books I haven't read in their entirety, but have been indispensable for certain topics. I still recommend them to people all the time, and feel perfectly justified…
on “Books Programmers Don't Really Read But Recommend” ↗