Sunday, December 17, 2017

Top 4 Data Structure and Algorithm Books

Here is the list:

This is one of the best books on Computer Algorithms, it's written by four authors, one of them is Thomas H. Cormen, whose another book Unlocked Algorithm is also the most recommended book to learn algorithms. This book is a lot more comprehensive and covers lots of different algorithm and advanced problem-solving technique e.g. greedy algorithms, dynamic programming, Amortized Analysis, along with elementary data structures like Stacks and Queues, Array and linked list, Hash tables, Tree, and Graph. This book is a unique combination of completeness and rigorous. Another good thing about this book is that algorithms are explained in English, and in pseudo code, which can be understood by even programmers, who has just started programming. It's equally useful for all kinds of programmers e.g. senior, experienced and freshers and in all kind of programming language e.g. Java, C or C++. One of the must-reads books on Algorithms for software programmers and developers.

Buy on Amazon.com

Algorithms are complex and hard to understand, even for a computer science graduate. Any book, which makes a readable attempt of the algorithm, by associating with real worth things, does a huge favor for its reader. Algorithm Unlocked is one of such book, which presents some of the widely known computer algorithms in the field of finding the shortest path, searching and sorting algorithms, String related algorithms, cryptography and data compression algorithms and some interesting problems. This book is one of the most engaging and readable books on the topic of algorithms and worth of every penny spent on it. Only thing, I found this book lacks is that it only covers Algorithms and not data structures, as it can not be used as a reference book. It's the best to use is as a companion, along with a much more comprehensive book on data structures and algorithms.

This is another data structure and algorithm book, which scores well on readability and practical usefulness. I particularly like its clean, clear and concise explanation; followed by real world use case and then lots of problems to master a particular data structure or algorithm. Only thing, which is not per my convenience was its examples, which are written in C programming language. If you can easily manage that then it's a very good book to learn data structure. In fact, this encouraged me to write my own implementation in Java while going through it, which certainly helps in long run. Remember, getting an objective feel of what is data structure, how does it work is quite different than implementing same data structure by yourself, and then trying different things e.g. finding cycles in linked list or finding middle node of linked list in single pass, is a good exercise after you implemented linked list data structure in Java. Combining back to the book, you can certainly buy this book on readability, clear and concise explanation and, more importantly, nontrivial examples. One of the best book to learn data structure and algorithms for beginners.


Buy on Amazon.com


This is another conventional book on Algorithms and Data structures. Two things, which I liked about this books are, examples are given in my favorite Java programming language and you can use this book as a reference for learning data structures like stack, queue, linked list, tree or graph. The good thing about this book is that if not only focuses on data structures and algorithms but also on Java, which makes it an ideal choice for Java programmers. Though it doesn't cover a lot of algorithms, it did cover algorithms related to directed and cyclic graphs, minimum spanning trees and comes up with a lot of exercises for practice. Not the best, but a good book to learn algorithm and data structure in Java.
Buy on Amazon.com

No comments:

Post a Comment