Cover of Grokking Data Structures

Grokking Data Structures

by Marcello La Rocca

Grokking · book 2

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 structuresIdentify use cases where data structures make the biggest differencePick the best data structure solution for a coding challengeUnderstand the tradeoffs of data structures and avoid catastrophesImplement basic data collections like arrays, linked lists, stacks, and priority queuesUse trees and binary search trees (BSTs) to organize dataUse graphs to model relationships and learn about complex dataEfficiently search by key using hash tables and hashing functionsReason about time and memory requirements of operations on data structuresGrokking 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.Foreword by Daniel Zingaro.About the technologyData 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 bookGrokking 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 insideFast searches using hash tablesTrees and binary search trees (BSTs) to organize dataUse graphs to model complex dataThe best data structures for a coding challengeAbout the readerFor readers who know the basics of Python. A perfect companion to Grokking Algorithms!About the authorMarcello 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.Table of Contents1 Introducing data structures: Why you should learn about data structures2 Static arrays: Building your first data structure3 Sorted arrays: Searching faster, at a price4 Big-O notation: A framework for measuring algorithm efficiency5 Dynamic arrays: Handling dynamically sized datasets6 Linked lists: A flexible dynamic collection7 Abstract data types: Designing the simplest container—the bag8 Stacks: Piling up data before processing it9 Queues: Keeping information in the same order as it arrives10 Priority queues and heaps: Handling data according to its priority11 Binary search trees: A balanced container12 Dictionaries and hash tables: How to build and use associative arrays13 Graphs: Learning how to model complex relationships in data

Pages
280
First published
2024
This edition
June 26, 2024
ISBN-13
9781633436992
ISBN-10
1633436993

This record as JSON: api.metadata.dev/books/9781633436992