Instruct: Classify a given review as either positive or negative.
Query: Awful Textbook

I'm currently taking a course on Algorithm Analysis, and we're using this as our textbook. At first glance this book seems like a tome of information, and extremely thorough. However, once you start to read it you realize exactly how many errors and typos made it all the way to the Third Edition. On the bright side, the appendices cover discrete mathematics very well.Here's two samples of the errors that have poked through:pg. 7, has a grievous error in exchangesort:for(i=0; i<=1;i++)That's obviously incorrect. It should be i<=(n-1).pg. 50, recursive binary search:else if(x == array[mid])Again, that should be else if(x <= array[mid]), otherwise the code does the same thing as the previous if statement.So frankly, skip this book. It contains errors that even a neophyte programmer ought to be able to catch.