Book description
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
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Acknowledgments
- Preface
- Python Objects, Types, and Expressions
-
Python Data Types and Structures
- Technical requirements
- Built-in data types
- None type
- Numeric types
- Representation error
- Membership, identity, and logical operations
- Sequences
- Learning about tuples
- Beginning with dictionaries
- Sorting dictionaries
- Dictionaries for text analysis
- Sets
- Modules for data structures and algorithms
- Summary
- Principles of Algorithm Design
- Lists and Pointer Structures
- Stacks and Queues
- Trees
- Hashing and Symbol Tables
- Graphs and Other Algorithms
- Searching
- Sorting
- Selection Algorithms
- String Algorithms and Techniques
- Design Techniques and Strategies
- Implementations, Applications, and Tools
- Other Books You May Enjoy
Product information
- Title: Hands-On Data Structures and Algorithms with Python
- Author(s):
- Release date: October 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788995573
You might also like
book
Data Structures and Algorithms in Python
Based on the authors' market leading data structures books in Java and C++, this textbook offers …
book
Python Data Structures and Algorithms
Implement classic and functional data structures and algorithms using Python About This Book A step by …
book
Hands-On Data Structures and Algorithms with Python - Third Edition
Understand how implementing different data structures and algorithms intelligently can make your Python code and applications …
video
Python 3: Project-based Python, Algorithms, Data Structures
This course is one of the most comprehensive and beginner-friendly courses on learning to code with …