Hands-On Data Structures and Algorithms with Python: Write complex and powerful code using the latest features of Python 3.7, 2/e (Paperback)
暫譯: 實戰資料結構與演算法:使用 Python 3.7 的最新功能編寫複雜且強大的程式碼,第二版 (平裝本)

Dr. Basant Agarwal, Benjamin Baka

買這商品的人也買了...

相關主題

商品描述

Learn to implement complex data structures and algorithms using Python

Key Features

  • Understand the analysis and design of fundamental Python data structures
  • Explore advanced Python concepts such as Big O notation and dynamic programming
  • Learn functional and reactive implementations of traditional data structures

Book Description

Data structures allow you to store and organize data efficiently. They are critical to any problem, provide a complete solution, and act like reusable code. Hands-On Data Structures and Algorithms with Python teaches you the essential Python data structures and the most common algorithms for building easy and maintainable applications.

This book helps you to understand the power of linked lists, double linked lists, and circular linked lists. You will learn to create complex data structures, such as graphs, stacks, and queues. As you make your way through the chapters, you will explore the application of binary searches and binary search trees, along with learning common techniques and structures used in tasks such as preprocessing, modeling, and transforming data. In the concluding chapters, you will get to grips with organizing your code in a manageable, consistent, and extendable way. You will also study how to bubble sort, selection sort, insertion sort, and merge sort algorithms in detail.

By the end of the book, you will have learned how to build components that are easy to understand, debug, and use in different applications. You will get insights into Python implementation of all the important and relevant algorithms.

What you will learn

  • Understand object representation, attribute binding, and data encapsulation
  • Gain a solid understanding of Python data structures using algorithms
  • Study algorithms using examples with pictorial representation
  • Learn complex algorithms through easy explanation, implementing Python
  • Build sophisticated and efficient data applications in Python
  • Understand common programming algorithms used in Python data science
  • Write efficient and robust code in Python 3.7

Who this book is for

This book is for developers who want to learn data structures and algorithms in Python to write complex and flexible programs. Basic Python programming knowledge is expected.

Table of Contents

  1. Python objects, types and expressions
  2. Python Data Types and Structures
  3. Principles of Algorithm Design
  4. Lists and pointer structures
  5. Stacks and Queues
  6. Trees
  7. Hashing and symbol tables
  8. Graphs and other algorithms
  9. Searching
  10. Sorting
  11. Selection Algorithms
  12. String algorithms and techniques
  13. Design techniques and strategies
  14. Implementations, applications and tools

商品描述(中文翻譯)

學習使用 Python 實作複雜的資料結構和演算法

主要特點


  • 理解基本 Python 資料結構的分析與設計

  • 探索進階 Python 概念,如大 O 符號和動態規劃

  • 學習傳統資料結構的函數式和反應式實作

書籍描述

資料結構使您能夠有效地儲存和組織資料。它們對於任何問題至關重要,提供完整的解決方案,並像可重用的程式碼一樣運作。《Hands-On Data Structures and Algorithms with Python》教您基本的 Python 資料結構和構建簡單且可維護應用程式的最常見演算法。

本書幫助您理解鏈結串列、雙向鏈結串列和圓形鏈結串列的強大功能。您將學習創建複雜的資料結構,如圖、堆疊和佇列。在逐章學習的過程中,您將探索二元搜尋和二元搜尋樹的應用,並學習在預處理、建模和轉換資料等任務中使用的常見技術和結構。在最後幾章中,您將掌握如何以可管理、一致和可擴展的方式組織您的程式碼。您還將詳細研究氣泡排序、選擇排序、插入排序和合併排序演算法。

在本書結束時,您將學會如何構建易於理解、除錯和在不同應用程式中使用的元件。您將深入了解 Python 實作的所有重要和相關的演算法。

您將學到什麼


  • 理解物件表示、屬性綁定和資料封裝

  • 透過演算法獲得對 Python 資料結構的深入理解

  • 使用圖示表示法學習演算法的範例

  • 通過簡單的解釋學習複雜的演算法,並實作 Python

  • 在 Python 中構建複雜且高效的資料應用程式

  • 理解在 Python 資料科學中使用的常見程式設計演算法

  • 在 Python 3.7 中撰寫高效且穩健的程式碼

本書適合誰

本書適合希望學習 Python 中資料結構和演算法以編寫複雜且靈活程式的開發人員。預期具備基本的 Python 程式設計知識。

目錄


  1. Python 物件、類型和表達式

  2. Python 資料類型和結構

  3. 演算法設計原則

  4. 列表和指標結構

  5. 堆疊和佇列


  6. 雜湊和符號表

  7. 圖和其他演算法

  8. 搜尋

  9. 排序

  10. 選擇演算法

  11. 字串演算法和技術

  12. 設計技術和策略

  13. 實作、應用和工具