Top critical review
Very knowledgeable author with poor coding skills
on 10 November 2014
I find this book lacking even though I have read most of it and I even own 2 copies. Certain topics are missing (e.g. AVLs). Other topics are structured poorly (e.g. insert, search, delete for binary search trees is briefly touched upon under searching methods rather than under a binary search tree section). The code examples are extremely poor. Sedgewick clearly didn't know how to write C or C++ code here. He uses dummy nodes and various complex mechanisms that leave an experienced developer as puzzled as a newcomer into the field. Needless to say this complexity is not needed, it causes confusion when reading the book and if used in practice I have no doubt it will create many bugs. His poor implementations are also open to infinite loops. I should also mention that his naming conventions are horrible and his overall layout is poor (I'm not marking him down because he tried to save space but for other reasons).