Book recommendations
3 books
Jeff Erickson's Algorithms text is a great resource
I second it.
Peter Linz's book "Introduction to Formal Languages and Automata".