Grokking AI Algorithms, Second Edition: How AI solves complex problems
From $50.99 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $47.99 at 1,000+
Format
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
Turn this order into a program
Groups that order together often pair the copies with something more. We handle the extras so you don't have to.
Branded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment options Pair it with a branded journalJournals with your logo or each reader's name, for the same group.
Branded journalsBookPal is partnering with Talezo to help you find and book authors, speakers and performers for your event.
BookPal × TalezoGrokking AI Algorithms, Second Edition
Artificial intelligence algorithms are the backbone of search and optimization, deep learning, reinforcement learning, and, of course, generative AI. This book introduces the most important AI algorithms using relatable illustrations, interesting examples, and thought-provoking exercises. Written in simple language and with lots of visual references and hands-on code examples, it helps you build a natural intuition into how intelligent systems learn, plan, and adapt. This second edition has been thoroughly revised, with new chapters on large language models, image generation, and more.
You know you can solve a problem with AI—but how? Which algorithm do you pick and how do you properly implement it? This book makes it simple and easy to understand the most core and common AI approaches. You’ll learn how to understand problem types, map real-world tasks to those problems, and how to design and implement the right algorithm—all following clear visual examples, pseudocode, and learning-oriented examples.
In Grokking AI Algorithms, Second Edition you will discover:
- How to pick the right algorithm for each AI problem
- Learn the fundamentals of search (the foundation of modern AI)
- Building intelligent agents to solve puzzles
- Finding solutions using the theory of evolution and genetic algorithms
- Make predictions with neural networks
- Understand how AI gets better with reinforcement learning
- Building a LLM pipeline and image diffusion model from scratch
AI algorithms are the backbone of search and optimization problems, deep learning, reinforcement learning, and, of course, generative AI. But knowing which algorithm to use—and why—is often harder than writing the code itself. Grokking AI Algorithms, Second Edition illuminates the algorithms behind modern generative AI with clear explanations, step-by-step code examples, and beautifully simple illustrations.
About the book
Everything you’ll learn in this powerfully simple book is reinforced through engaging, end-to-end projects—from solving mazes with search algorithms to navigating a car through a crowded parking lot with reinforcement learning. Plus, this second edition has been thoroughly revised with fresh chapters exploring the core algorithms of LLMs and image generation models.
What's inside
- Search algorithms and swarm optimization
- Deep learning and neural networks
- Training AI with reinforcement learning
- Building a LLM pipeline for text generation
Requires beginning to intermediate programming skills and high school level mathematics. No AI experience required.
About the author
Rishal Hurbans is an experienced technologist and serial entrepreneur specializing in AI engineering and human performance.
Table of Contents
1 Intuition of AI
2 Search fundamentals
3 Intelligent search
4 Evolutionary algorithms
5 Advanced evolutionary approaches
6 Swarm intelligence: Ants
7 Swarm intelligence: Particles
8 Machine learning
9 Artificial neural networks
10 Reinforcement learning
11 Large language models
12 Generative image models
Details
- Publisher
- Manning
- Author
- Rishal Hurbans
- Format
- Paperback
- Published
- Mar 31, 2026
- ISBN-13
- 9781633434813
- ISBN-10
- 1633434818
- Pages
- 592
Grokking AI Algorithms, Second Edition for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $50.99 | 15% off list |
| 100 – 249 | $50.39 | 16% off list |
| 250 – 499 | $49.79 | 17% off list |
| 500 – 999 | $49.19 | 18% off list |
| 1,000+ | $47.99 | 20% off list |
Popular for
A copy for every member, on one order.
A book for every attendee, delivered to your venue.
For clients, staff, members or volunteers.
Where can I buy 100 copies of Grokking AI Algorithms, Second Edition?
BookPal sells Grokking AI Algorithms, Second Edition in quantity. At 100 copies the price is $50.39 a copy, against a list price of $59.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does Grokking AI Algorithms, Second Edition cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $50.99 (15% off list); 100 to 249 copies, $50.39 (16% off list); 250 to 499 copies, $49.79 (17% off list); 500 to 999 copies, $49.19 (18% off list); 1,000+ copies, $47.99 (20% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of Grokking AI Algorithms, Second Edition?
Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Write a Review
Grokking AI Algorithms, Second Edition: How AI solves complex problems
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.