|
|
|
Ask HN: Do textbooks help?
|
|
7 points
by ygd_coder
6151 days ago
|
|
I can't say I'm exactly new to programming, but I'm new to writing algorithms that actually do something. I am a bit clueless at the moment, but I was wondering whether reading a textbook on the subject helps. I'm specifically considering "Introduction to the Design and Analysis of Algorithms (2nd Edition)" by Anany V. Levitin, or "Introduction to Algorithms (3d Edition)" by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. Or both. Are these books any good? Are there other books I should read? BTW: As far as programming languages go, I'm pretty fluent in Java and far into learning Python with plans to learn many more languages in the future. |
|
I don't know about the Levitin book, but the Cormen book is likely to be a little tough for someone just starting out. I would suggest Tardos and Kleinberg or Skiena's book (and once you are finished with those you can always come back to Cormen). Make sure you are comfortable deriving proofs before attempting Cormen. A lot of the value of the book is in its exercises and a lot of the exercises involve proving things.
So yes textbooks help, but in my experience they need to be the right textbooks in the right sequence. Good Luck!