Description
By: Jeremy Kubica
Enter the wonderful world of graph algorithms, where you’ll learn when and how to apply these highly useful data structures to solve a wide range of fascinating (and fantastical) computational problems.
This book provides a fun and accessible introduction to graph algorithms, commonly used to solve a wide range of computational and mathematical problems. Full of humorous analogies, detailed diagrams, and real-world examples using the Python programming language, Graph Algorithms the Fun Way will show you how graph data structures can model a vast variety of phenomena — from physical mazes to communication networks — while helping you develop a strong foundation for how they work, when to use them, and how to create variants.
It starts with the structure of graphs, demonstrating the ways they can represent connections between nodes, such as the best route through a city or how rumors spread in a social network. Each subsequent chapter introduces new graph algorithms along with their underlying concepts and applications — from basic searches to more advanced methods of exploring graphs. You’ll have a blast solving brain-teasers including the 15-square puzzle, matching adopted pets with homes, calculating the maximum flow of a sewage network, traversing magical labyrinths, sorting recipe steps to craft the perfect cookies, and more. You’ll also learn how to:
Guided by the bestselling author of Data Structures the Fun Way, this equally fun follow-up will help you build a strong understanding of a crucial coding topic and apply graph algorithms to your own projects.
Enter the wonderful world of graph algorithms, where you’ll learn when and how to apply these highly useful data structures to solve a wide range of fascinating (and fantastical) computational problems.
This book provides a fun and accessible introduction to graph algorithms, commonly used to solve a wide range of computational and mathematical problems. Full of humorous analogies, detailed diagrams, and real-world examples using the Python programming language, Graph Algorithms the Fun Way will show you how graph data structures can model a vast variety of phenomena — from physical mazes to communication networks — while helping you develop a strong foundation for how they work, when to use them, and how to create variants.
It starts with the structure of graphs, demonstrating the ways they can represent connections between nodes, such as the best route through a city or how rumors spread in a social network. Each subsequent chapter introduces new graph algorithms along with their underlying concepts and applications — from basic searches to more advanced methods of exploring graphs. You’ll have a blast solving brain-teasers including the 15-square puzzle, matching adopted pets with homes, calculating the maximum flow of a sewage network, traversing magical labyrinths, sorting recipe steps to craft the perfect cookies, and more. You’ll also learn how to:
- Work with weighted and directed graphs
- Use heuristics to prioritize which paths in a graph to explore
- Determine which components of a graph are key for its structural integrity
- Generate random mazes
Guided by the bestselling author of Data Structures the Fun Way, this equally fun follow-up will help you build a strong understanding of a crucial coding topic and apply graph algorithms to your own projects.
You may also like
熱銷中 Top Trending
![Press Start! #15 Mega Mole Girl Digs Deep! (Branches)](http://buybookbook.com/cdn/shop/files/PressStart_15MegaMoleGirlDigsDeep_Branches_{width}x.webp?v=1720090411)
Press Start! #15 Mega Mole Girl Digs Deep! (Branches)
Sale priceHK$47.00
Regular priceHK$98.00
In stock![Legends of Lotus Island #01 The Guardian Test (Christina Soontornvat)](http://buybookbook.com/cdn/shop/files/9781339041032_{width}x.webp?v=1716376443)
Legends of Lotus Island #01 The Guardian Test (Christina Soontornvat)
Sale priceFrom HK$67.00
Regular priceHK$112.00
In stock![Maisy's (正版) Holiday Picture Book Bag Collection (Lucy Cousins) - 買書書 BuyBookBook](http://buybookbook.com/cdn/shop/products/Maisy_sHolidayPictureBookBagCollection_LucyCousins_{width}x.jpg?v=1664268685)
![Maisy Goes on Holiday (Paperback) (Lucy Cousins) Walker UK](http://buybookbook.com/cdn/shop/products/MaisyGoesonHoliday1_a13ed30d-bac5-4f72-ad36-c06a517e2a9a_{width}x.jpg?v=1664268685)
Maisy's (正版) Holiday Picture Book Bag Collection (Lucy Cousins)
Sale priceHK$175.00
Regular priceHK$504.00
In stock![Brown: My Alter Ego Is A Superhero Book 1 (Håkon Øvreås)](http://buybookbook.com/cdn/shop/files/9781592702510_{width}x.jpg?v=1716306931)
Brown: My Alter Ego Is A Superhero Book 1 (Håkon Øvreås)
Sale priceFrom HK$64.00
Regular priceHK$80.00
In stock![Press Start! #14 Super Game Book! Special Edition (Branches)-Fiction: 歷險科幻 Adventure & Science Fiction-買書書 BuyBookBook](http://buybookbook.com/cdn/shop/files/71EF9uA62HL._SL1200_{width}x.webp?v=1712764605)
Press Start! #14 Super Game Book! Special Edition (Branches)
Sale priceHK$48.00
Regular priceHK$80.00
In stock![The Epic Guide to Dragon Masters: A Branches Special Edition (Dragon Masters) (正版) (Tracey West)](http://buybookbook.com/cdn/shop/files/TheEpicGuidetoDragonMastersABranchesSpecialEdition_DragonMasters_TraceyWest_{width}x.webp?v=1720118963)
The Epic Guide to Dragon Masters: A Branches Special Edition (Dragon Masters) (正版) (Tracey West)
Sale priceHK$75.00
Regular priceHK$120.00
In stock