Skip to Content
Grokking Data Structures
book

Grokking Data Structures

by Marcello La Rocca
July 2024
Beginner to intermediate
280 pages
7h 25m
English
Manning Publications

Overview

Don’t be perplexed by data structures! This fun, friendly, and fully illustrated guide makes it easy to learn useful data structures you’ll put to work every day.

Grokking Data Structures makes it a breeze to learn the most useful day-to-day data structures. You’ll follow a steady learning path from absolute basics to advanced concepts, all illustrated with fun examples, engaging industry stories, and hundreds of graphics and cartoons.

In Grokking Data Structures you’ll learn how to:

  • Understand the most important and widely used data structures
  • Identify use cases where data structures make the biggest difference
  • Pick the best data structure solution for a coding challenge
  • Understand the tradeoffs of data structures and avoid catastrophes
  • Implement basic data collections like arrays, linked lists, stacks, and priority queues
  • Use trees and binary search trees (BSTs) to organize data
  • Use graphs to model relationships and learn about complex data
  • Efficiently search by key using hash tables and hashing functions
  • Reason about time and memory requirements of operations on data structures

Grokking Data Structures carefully guides you from the most basic data structures like arrays or linked lists all the way to powerful structures like graphs. It’s perfect for beginners, and you won’t need anything more than high school math to get started. Each data structure you encounter comes with its own complete Python implementation so you can start experimenting with what you learn right away.

About the Technology
Data structures are vital for shaping and handling your data organization. They’re also an important part of most IT job interviews! Whether you’re new to data structures or just dusting off what you learned in school, this book will get you up to speed fast with no advanced math, abstract theory, or complicated proofs.

About the Book
Grokking Data Structures introduces common and useful data structures that every developer needs to know. Real-world examples show you how data structures are used in practice, from making your searches faster to handling triage in an emergency room. You’ll love the fun cartoons, insightful stories, and useful Python code samples that make data structures come alive. And unlike jargon-laden academic texts, this book is easy-to-read and practical.

What's Inside
  • Fast searches using hash tables
  • Trees and binary search trees (BSTs) to organize data
  • Use graphs to model complex data
  • The best data structures for a coding challenge


About the Reader
For readers who know the basics of Python. A perfect companion to Grokking Algorithms!

About the Author
Marcello La Rocca is a research scientist and a full-stack engineer. He has contributed to large-scale web applications and machine learning infrastructure at Twitter, Microsoft, and Apple.

The technical editor on this book was Beau Carnes.

Quotes
Approachable and thorough. Puts the most important data structures in your tool belt, ready to use, and gives you a deep understanding too.
- Bruno Gonçalves, Data For Science, Inc.

Hits the sweet spot between over simplification and too much theory.
- Patrick Regan, MGHPCC

Really drives home data structures in a friendly manner.
- Ritobrata Ghosh, Artificial Learning Systems

I can personally attest to Marcello’s deep care and respect for learners and this material. I congratulate him.
- From the Foreword by Daniel Zingaro, University of Toronto

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Data Structures the Fun Way

Data Structures the Fun Way

Jeremy Kubica
Data Structures & Algorithms in Python

Data Structures & Algorithms in Python

John Canning, Alan Broder, Robert Lafore
Grokking Algorithms

Grokking Algorithms

Aditya Bhargava

Publisher Resources

ISBN: 9781633436992Publisher SupportPublisher Website