1 / 2Grokking Algorithms, Second Edition
Grokking Algorithms, Second Edition is an illustrated introduction to core programming algorithms and data structures. Its stated coverage includes searching, sorting, graphs, trees, greedy and NP-complete problems, with exercises and Python 3 code samples. The 320-page book is aimed at readers without advanced math or programming skills.
At a glance
- Covers search, sort, graph, greedy and NP-complete algorithms, alongside data structures including arrays, lists, hash tables, trees and graphs.
- The second edition adds tree topics such as binary search trees, balanced trees and B-trees, according to the listing.
- Listing describes over 400 illustrations, chapter exercises and annotated code samples updated to Python 3.
Often bought together
Pros and cons
Pros
- Broad topic range moves from searching and sorting to trees, dynamic programming and algorithm-performance trade-offs.
- Illustrations and worked explanations offer an approachable route into abstract concepts.
- Exercises and code samples provide material for practising as concepts are introduced.
Technical specifications
9 specifications| Edition | 2nd |
|---|---|
| Publisher | Manning |
| Publication date | March 26 2024 |
| Language | English |
| Print length | 320 pages |
| ISBN-10 | 1633438538 |
| ISBN-13 | 978-1633438538 |
| Weight listed | 544 g |
|---|---|
| Dimensions | 18.73 x 1.78 x 23.5 cm |
What to know before buying
- The listing says no advanced math or programming skills are required, so readers seeking an advanced reference or a full programming course may find its introductory focus limiting.
Who is it for?
A good fit for
- New programmers looking for an illustrated introduction to common algorithms and data structures.
- Readers who want chapter exercises and Python 3 code examples alongside explanations.
- Learners reviewing algorithm topics for programming interviews.
Less suited to
- Readers looking for a comprehensive advanced algorithms reference or a book focused on a programming language beyond the supplied Python 3 examples.

Customer reviews on Amazon
- 5 stars
81% 81% - 4 stars
13% 13% - 3 stars
2% 2% - 2 stars
1% 1% - 1 star
3% 3%
Customer feedback highlights clear explanations, readability for beginners and non-CS readers, and helpful illustrations. Those impressions fit the listing's illustrated, introductory approach and stated exercises, but do not make it an advanced reference. Opinions on value for money are mixed, so the price may matter to buyers weighing a short introductory guide against their learning needs.
Positive themes
- Customers praise the explanations and readability for beginners and non-CS readers.
- Customers describe the illustrations as helpful.
Mixed feedback
- Customer feedback is divided on whether the book offers good value for money.
Frequently asked questions
What topics does the book cover?
The listing describes searching, sorting, graph algorithms, trees, greedy algorithms, NP-complete problems, dynamic programming and data structures such as hash tables.
Does it include programming exercises and code?
The listing says every chapter includes exercises and code samples, with annotated examples updated to Python 3.
Who is the book intended for?
The listing presents it as an introduction for programmers and curious readers, and says advanced math or programming skills are not required.
What do customers say about its explanations?
Customer feedback describes the concepts as well-explained and the book as readable for beginners and non-CS readers. Opinions on value for money are mixed.
Alternative options

CPython Internals: Your Guide to the Python 3 Interpreter
$39.83

The Fastest Way: Compact Edition
$13.74

LLM Engineer's Handbook: Master the art of engineering large language models from concept to production
$75.99

Python Illustrated: Not another boring Python book, learn programming the fun way
$50.99

30 Agents Every AI Engineer Must Build: Build production-ready agent systems using proven architectures and patterns
$69.99

Agentic Architectural Patterns for Building Multi-Agent Systems: Proven design patterns and practices for GenAI, agents, RAG, LLMOps, and enterprise-scale AI systems
$75.99

Mastering C++ Game Animation Programming: Enhance your skills with advanced game animation techniques in C++, OpenGL, and Vulkan
$63.99

Ace the Data Science Interview: 201 Real Interview Questions Asked By FAANG, Tech Startups, & Wall Street
$55.00

Python Cheat Sheets: A Quick Visual Guide to Learn Python Programming
$19.99

























