Data Structures and Algorithms in Python
This all-newData Structures and Algorithms in Pythonis designed to provide an introduction to data structures and algorithms, including their design, analysis, and implementation. The authors take advantage of the beauty and simplicity of Python to present executable source code that is clear and concise. Furthermore, a consistent object-oriented viewpoint is retained throughout the book, including the use of inheritance, both to maximize code reuse and to draw attention to the clear similarities and differences of various abstract data types and algorithmic approaches.This is a “sister” book to Goodrich & Tamassia’sData Structures and Algorithms in Javaand Goodrich, Tamassia and Mount’sData Structures and Algorithms in C++. This Python version retains much of the same pedagogical approach and general structure as the Java and C++ versions, so that curriculums that teach data structures in Python, Java, and C++ can share the same core syllabus.Key Features of this BookA primer that reviews the basics of programming in Python (Chapter 1), followed by a separate introduction toobject-orientedprogramming in Python (Chapter 2).Extensive coverage of recursion (Chapter 4).A chapter describing the array-based underpinnings of Python’s standard list, string, and tuple classes (Chapter 5), including both theoretical and empirical analyses of their efficiencies.Source code with complete implementations of the majority of data structures and algorithms described in the book; the code follows modern standards for Python 3, and makes use of the standard collections module.500 illustrations that present data structures and algorithms in a clear, visual manner.More than 750 exercises, divided into categories of reinforcement, creativity, and projects.About the cover:The cover art is based on an indigenous Australian painting style portraying what is known as Dreamtime. This style is traditionally iconic and representative of connections between points of interest or concepts; hence, it is a fitting way to capture at a high level the connections and points of interest used to visualize data structures and algorithms.