- 310 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Python Data Structures and Algorithms
About This Book
Implement classic and functional data structures and algorithms using PythonAbout This Bookā¢ A step by step guide, which will provide you with a thorough discussion on the analysis and design of fundamental Python data structures.ā¢ Get a better understanding of advanced Python concepts such as big-o notation, dynamic programming, and functional data structures.ā¢ Explore illustrations to present data structures and algorithms, as well as their analysis, in a clear, visual manner.Who This Book Is ForThe book will appeal to Python developers. A basic knowledge of Python is expected.What You Will Learnā¢ Gain a solid understanding of Python data structures.ā¢ Build sophisticated data applications.ā¢ Understand the common programming patterns and algorithms used in Python data science.ā¢ Write efficient robust code.In DetailData structures allow you to organize data in a particular way efficiently. They are critical to any problem, provide a complete solution, and act like reusable code. In this book, you will learn the essential Python data structures and the most common algorithms. With this easy-to-read book, you will be able to understand the power of linked lists, double linked lists, and circular linked lists. You will be able to create complex data structures such as graphs, stacks and queues. We will explore the application of binary searches and binary search trees. You will learn the common techniques and structures used in tasks such as preprocessing, modeling, and transforming data. We will also discuss how to organize your code in a manageable, consistent, and extendable way. The book will explore in detail sorting algorithms such as bubble sort, selection sort, insertion sort, and merge sort. By the end of the book, you will learn how to build components that are easy to understand, debug, and use in different applications.Style and approachThe easy-to-read book with its fast-paced nature will improve the productivity of Python programmers and improve the performance of Python applications.
Frequently asked questions
Information
Python Data Types and Structures
Operations and expressions
- The None type
- False
- An integer, float, or complex zero
- An empty sequence or mapping
- An instance of a user-defined class that defines a __len__() or __bool__() method that returns zero or False
Boolean operations
Operator | Example |
not x | Returns True if x is False; returns False otherwise. |
x and y | Returns True if both x and y are True; returns False otherwise. |
x or y | Returns True if either x or y is True; returns False otherwise. |
Comparison and Arithmetic operators
Membership, identity, and logical operations
Built-in data types
Categ... |
Table of contents
- Title Page
- Copyright
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Customer Feedback
- Preface
- Python Objects, Types, and Expressions
- Python Data Types and Structures
- Principles of Algorithm Design
- Lists and Pointer Structures
- Stacks and Queues
- Trees
- Hashing and Symbol Tables
- Graphs and Other Algorithms
- Searching
- Sorting
- Selection Algorithms
- Design Techniques and Strategies
- Implementations, Applications, and Tools