Jump to ratings and reviews
Rate this book

Data Structures the Fun Way: An Amusing Adventure with Coffee-Filled Examples

Rate this book
Learn how and when to use the right data structures in any situation, strengthening your computational thinking, problem-solving, and programming skills in the process.

This accessible and entertaining book provides an in-depth introduction to computational thinking through the lens of data structures — a critical component in any programming endeavor. You’ll learn how to work with more than 15 key data structures, from stacks, queues, and caches to bloom filters, skip lists, and graphs. You’ll also master linked lists by virtually standing in line at a cafe, hash tables by cataloging the history of the summer Olympics, and Quadtrees by neatly organizing your kitchen cabinets, all while becoming familiar with basic computer science concepts, like recursion and running time analysis.

304 pages, Paperback

Published November 8, 2022

38 people are currently reading
168 people want to read

About the author

Jeremy Kubica

5 books13 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
16 (38%)
4 stars
17 (40%)
3 stars
8 (19%)
2 stars
1 (2%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Jeanne Boyarsky.
Author 28 books76 followers
October 29, 2022
“Data Structures the Fun Way” targets students or people already working. While you don't need to know any language in particular, you should know one. The examples are written in a Python'ish pseudocode.

As you might imagine from the title, this book is a fun read. The author writes “Similes are scattered through this book like blueberries through a muffin.” There's also lots of coffee examples such as the coffee barista using a Bloom filter.

There's lots of diagrams helping to visualize the algorithms. Each chapter ends with “why this matters” to tie what you learned to programming at large.

While the book does start with “what is a variable”, this is meant as review. The same chapter covers insertion sort. The book does cover advanced topics like B-trees and grids. My favorite chapter was the one on caching.

I learned a lot of this in college, but that was long enough to forget a bunch. This was a fun review. And it seems like it would also be clear and fun to someone learning the topics for the first time.

I would have rather a real language be used than pseudocode to let readers play with the examples, but overall a great read.

A received a free copy of this book from the publisher in exchange for writing this review.
Profile Image for Lucille Nguyen.
427 reviews12 followers
October 19, 2022
Good overview of data structures, intuitive with good visualizations.
Profile Image for Buck.
64 reviews1 follower
April 1, 2024
It's good. It's no interactive textbook, but it's good, and I plan on keeping my physical copy to lend to friends and refresh myself on the more complicated bits at the end. I don't feel like I'm suddenly crazy better at working with data because of it, but I imagine a beginners perspective would be more helpful, we go over a lot of this in really early classes in school so I'm already spoiled on it lol
Profile Image for Keith Woodruff.
22 reviews
October 1, 2024
more of a reference/guide than an explainer. Will shelve this for now and hope what I highlighted is useful later.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.