Book description
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. Through diagrams, pseudocode, and humorous analogies, you’ll learn how the structure of data drives algorithmic operations, gaining insight into not just how to build data structures, but precisely how and when to use them.
This book will give you a strong background in implementing and working with more than 15 key data structures, from stacks, queues, and caches to bloom filters, skip lists, and graphs. Master linked lists by standing in line at a cafe, hash tables by cataloging the history of the summer Olympics, and Quadtrees by neatly organizing your kitchen cabinets. Along with basic computer science concepts like recursion and iteration, you’ll learn:
•The complexity and power of pointers
•The branching logic of tree-based data structures
•How different data structures insert and delete data in memory
•Why mathematical mappings and randomization are useful
•How to make tradeoffs between speed, flexibility, and memory usage
Data Structures the Fun Way shows how to efficiently apply these ideas to real-world problems—a surprising number of which focus on procuring a decent cup of coffee. At any level, fully understanding data structures will teach you core skills that apply across multiple programming languages, taking your career to the next level.
Table of contents
- Title Page
- Copyright
- Dedication
- About the Author
- Acknowledgments
- Introduction
- Chapter 1: Information in Memory
- Chapter 2: Binary Search
- Chapter 3: Dynamic Data Structures
- Chapter 4: Stacks and Queues
- Chapter 5: Binary Search Trees
- Chapter 6: Tries and Adapting Data Structures
- Chapter 7: Priority Queues and Heaps
- Chapter 8: Grids
- Chapter 9: Spatial Trees
- Chapter 10: Hash Tables
- Chapter 11: Caches
- Chapter 12: B-trees
- Chapter 13: Bloom Filters
- Chapter 14: Skip Lists
- Chapter 15: Graphs
-
Conclusion
- What Is the Impact of the Data’s Structure?
- Do We Need Dynamic Data Structures?
- What Is the Amortized Cost?
- How Can We Adapt Data Structures to a Specific Problem?
- What Are the Memory vs. Runtime Tradeoffs?
- How Can We Tune Our Data Structure?
- How Does Randomization Impact Expected Behavior?
- Why This Matters
- Index
Product information
- Title: Data Structures the Fun Way
- Author(s):
- Release date: October 2022
- Publisher(s): No Starch Press
- ISBN: 9781718502604
You might also like
book
A Common-Sense Guide to Data Structures and Algorithms
" Algorithms and data structures are much more than abstract concepts. Mastering them enables you to …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
video
Data Structures and Algorithms: The Complete Masterclass
With the knowledge of data structures and algorithms at your fingertips, you can write efficient computer …
book
Grokking Algorithms
Grokking Algorithms is a fully illustrated, friendly guide that teaches you how to apply common algorithms …