Graph Algorithms the Fun Way

Kubica, Jeremy

  • 出版商: No Starch Press
  • 出版日期: 2024-11-19
  • 售價: $2,020
  • 貴賓價: 9.5$1,919
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1718503865
  • ISBN-13: 9781718503861
  • 相關分類: Algorithms-data-structures
  • 尚未上市,歡迎預購

商品描述

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.

作者簡介

Jeremy Kubica is an engineering director with a BS in computer science from Cornell University and a PhD in robotics from Carnegie Mellon University where his work focused on creating algorithms to detect killer asteroids. He is the author of The CS Detective and Data Structures the Fun Way (both from No Starch Press).

作者簡介(中文翻譯)

Jeremy Kubica是一位工程總監,擁有康奈爾大學的計算機科學學士學位和卡內基梅隆大學的機器人學博士學位,他的研究專注於創建用於檢測殺手級小行星的算法。他是《The CS Detective》和《Data Structures the Fun Way》(兩本皆由No Starch Press出版)的作者。

類似商品