Hands-On Data Structures and Algorithms with Python: Write complex and powerful code using the latest features of Python 3.7, 2/e (Paperback)

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符號和動態規劃
- 學習傳統資料結構的函數式和反應式實現

書籍描述

資料結構能夠有效地存儲和組織資料。它們對於解決任何問題都至關重要,提供了完整的解決方案,並且像可重用的代碼一樣。《使用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. 設計技巧和策略
14. 實現、應用和工具