Fabulous Adventures in Data Structures and Algorithms
by Eric Lippert
From $59.49 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $55.99 at 1,000+
Total $1,487.25
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 × TalezoFabulous Adventures in Data Structures and Algorithms
"Rigorous, curious, quietly funny, and extraordinarily generous with hard-won insight."
—Scott Hanselman, Microsoft
This book invites you to step off the beaten path and explore interesting, unfamiliar, and even exotic algorithms that will challenge your perspective and elevate your code. Legendary language designer Eric Lippert guides you with a refreshing, conversational approach, providing beautifully practical examples that highlight the recurring patterns behind stubborn coding problems.
You’ll begin with a fresh look at foundational, thread-safe, and persistent immutable data structures. Lippert demystifies stacks, queues, and finger-tree deques, illustrating how to manage memory efficiently through persistence. For developers working in highly concurrent, cloud native environments, these patterns will help you eliminate hard-to-spot race conditions and state-mutation bugs.
Your fabulous adventure then turns to structural search, compiler design, and the integration of functional programming within mainstream object-oriented languages. You’ll dive into Directed Acyclic Word Graphs (DAWGs), greedy pretty printers, and the complexities of tree unification. This section bridges theory and real-world tools, teaching you how to design highly modular compilers or robust static analysis engines and to write declarative, composable, and expressive APIs.
In the final leg of your journey, you’ll model randomness, statistical reasoning, and continuous probability—core concepts for AI and predictive analytics. Lippert introduces advanced Bayesian and monadic techniques, teaching you how to construct joint distributions and sample them using the powerful Metropolis algorithm. This statistical toolkit aligns perfectly with modern data-driven systems that need to make consistent, sound decisions under real-world uncertainty.
In the age of AI coding, implementation is becoming cheaper. AI can write code, but it cannot relieve developers of responsibility for understanding what the code means, why a given solution was chosen, how it will scale, and whether the problem has been framed correctly. This book develops exactly that judgment. It teaches the part that is becoming more valuable: recognizing, selecting, questioning, and evaluating the ideas behind implementations. It is an apprenticeship in computational taste, taught through unusual and memorable examples.
What's inside
• Build highly efficient, thread-safe concurrent systems using immutable parts
• Compress massive data representation sizes using memoized quadtrees and DAWGs
• Solve complex compiler optimizations using unification and backtracking search
• Automate precise, mathematically sound decisions under real-world uncertainty
About the reader
For working programmers familiar with C#, Java, or Python.
About the author
Eric Lippert has designed programming languages, compilers, and developer tools for Microsoft, Coverity, and Facebook. He was a key member of the C# language design team and writes at ericlippert.com.
Table of Contents
1 Starting a fabulous adventure
Part 1
2 Immutable stacks and queues
3 An immutable deque
4 Memoizing immutable quadtrees to make a better Life
5 What’s up with you, Directed Acyclic Word Graph?
6 Combinatorial algorithms
7 First abstract nonsense interlude: Category theory
Part 2
8 Coloring graphs with backtracking search
9 Greedy iterative pretty printing
10 Unification and anti-unification
11 Second abstract nonsense interlude: Monads
Part 3
12 A better abstraction for randomness
13 Conditional probability with Bayes’ theorem
14 Third abstract nonsense interlude: The probability monad
15 Sampling continuous distributions
16 Markov processes and the Metropolis algorithm
A Notes on C#
B Further reading
Details
- Publisher
- Manning
- Author
- Eric Lippert
- Format
- Paperback
- Published
- Sep 29, 2026
- ISBN-13
- 9781633435032
- ISBN-10
- 1633435032
- Pages
- 368
Fabulous Adventures in Data Structures and Algorithms for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $59.49 | 15% off list |
| 100 – 249 | $58.79 | 16% off list |
| 250 – 499 | $58.09 | 17% off list |
| 500 – 999 | $57.39 | 18% off list |
| 1,000+ | $55.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 Fabulous Adventures in Data Structures and Algorithms?
BookPal sells Fabulous Adventures in Data Structures and Algorithms in quantity. At 100 copies the price is $58.79 a copy, against a list price of $69.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 Fabulous Adventures in Data Structures and Algorithms 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, $59.49 (15% off list); 100 to 249 copies, $58.79 (16% off list); 250 to 499 copies, $58.09 (17% off list); 500 to 999 copies, $57.39 (18% off list); 1,000+ copies, $55.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 Fabulous Adventures in Data Structures and Algorithms?
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
Fabulous Adventures in Data Structures and Algorithms
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.