Understanding algorithms for coding interviews and Computer Science courses can be tough, and any resource which makes the job easier has to be a good thing.
I expect you are familiar with the phrase “a picture is worth a thousand words.” One of the main strengths of Bhargava’a book is the extremely clear (and sometimes quirky) pictures which the book is full of. These pictures, combined with some excellent concise and explanations, make it hard NOT to understand the algorithms.
For example, check out these pictures:
Recursion to Sum a List
Chaining in a Hashing Algorithm
The range of algorithms covered is quite wide. For example, you will learn about
- Arrays and linked lists
- Searching and sorting algorithms
- Hash tables
- Dijkstra’s algorithm
The programming language used in the book is Python, so students learning this language will get the opportunity to practice their Python skills, while others can easily understand the code as it reads almost like English.
Buy Grokking Algorithms by Aditya Bhargava
As an Amazon Associate I earn from qualifying purchases.
Our verdict: this is a fantastic book. Highly recommended for A Level Computer Science students.