Based on the authors' market leading data structures books in Java and C++, this book offers a comprehensive, definitive introduction to data structures in Python by authoritative authors. Data Structures and Algorithms in Python is the first authoritative object-oriented book available for Python data structures. Designed to provide a comprehensive introduction to data structures and algorithms, including their design, analysis, and implementation, the text will maintain the same general structure as Data Structures and Algorithms in Java and Data Structures and Algorithms in C++. Begins by discussing Python's conceptually simple syntax, which allows for a greater focus on concepts. Employs a consistent object-oriented viewpoint throughout the text. Presents each data structure using ADTs and their respective implementations and introduces important design patterns as a means to organize those implementations into classes, methods, and objects. Provides a thorough discussion on the analysis and design of fundamental data structures. Includes many helpful Python code examples, with source code provided on the website. Uses illustrations to present data structures and algorithms, as well as their analysis, in a clear, visual manner. Provides hundreds of exercises that promote creativity, help readers learn how to think like programmers, and reinforce important concepts. Contains many Python-code and pseudo-code fragments, and hundreds of exercises, which are divided into roughly 40% reinforcement exercises, 40% creativity exercises, and 20% programming projects.
基于作者在Java和C ++中的市场领先的数据结构书籍,本书提供了权威作者对Python数据结构的全面,明确的介绍。Python中的数据结构和算法是第一个可用于Python数据结构的权威的面向对象的书。旨在提供对数据结构和算法(包括其设计,分析和实现)的全面介绍,该文本将保持与Java中的数据结构和算法以及C ++中的数据结构和算法相同的一般结构。通过讨论Python概念上简单的语法开始,这允许更多地关注概念。在整个文本中采用一致的面向对象的观点。使用ADT及其各自的实现呈现每个数据结构,并引入重要的设计模式,作为将这些实现组织到类,方法和对象中的方法。提供有关基础数据结构分析和设计的全面讨论。包含许多有用的Python代码示例,并在网站上提供源代码。使用插图以清晰,直观的方式呈现数据结构和算法及其分析。提供数百种促进创造力的练习,帮助读者学习如何像程序员一样思考,并强化重要概念。包含许多Python代码和伪代码片段,以及数百个练习,分为大约40%的强化练习,40%的创造练习和20%的编程项目。