|
| 1 | +# Python Data Structures and Algorithm |
| 2 | +This is the code repository for [Python Data Structures and Algorithm](https://www.packtpub.com/application-development/python-data-structures-and-algorithm?utm_source=github&utm_medium=repository&utm_campaign=9781786467355), published by [Packt](https://www.packtpub.com/?utm_source=github). It contains all the supporting project files necessary to work through the book from start to finish. |
| 3 | +## About the Book |
| 4 | +Data 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. |
| 5 | +In this book, you will learn the essential Python data structures and the most common algorithms. |
| 6 | +## Instructions and Navigation |
| 7 | +All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02. |
| 8 | + |
| 9 | +Chapter 12 and 13 does not have any code file |
| 10 | + |
| 11 | +The code will look like the following: |
| 12 | +``` |
| 13 | +def dequeue(self): |
| 14 | + if not self.outbound_stack: |
| 15 | + while self.inbound_stack: |
| 16 | + self.outbound_stack.append(self.inbound_stack.pop()) |
| 17 | + return self.outbound_stack.pop() |
| 18 | +``` |
| 19 | + |
| 20 | +The code in this book will require you to run Python 2.7.x or higher. Python's default interactive environment can also be used to run the snippets of code. In order to use other third-party libraries, pip should be installed on your system. |
| 21 | + |
| 22 | +## Related Products |
| 23 | +* [Learning Functional Data Structures and Algorithms](https://www.packtpub.com/application-development/learning-functional-data-structures-and-algorithms?utm_source=github&utm_medium=repository&utm_campaign=9781785888731) |
| 24 | + |
| 25 | +* [Learning JavaScript Data Structures and Algorithms [Video]](https://www.packtpub.com/web-development/learning-javascript-data-structures-and-algorithms-video?utm_source=github&utm_medium=repository&utm_campaign=9781782175698) |
| 26 | + |
| 27 | +* [Java 9 Data Structures and Algorithms](https://www.packtpub.com/application-development/java-9-data-structures-and-algorithms?utm_source=github&utm_medium=repository&utm_campaign=9781785889349) |
| 28 | + |
| 29 | +### Suggestions and Feedback |
| 30 | +[Click here](https://docs.google.com/forms/d/e/1FAIpQLSe5qwunkGf6PUvzPirPDtuy1Du5Rlzew23UBp2S-P3wB-GcwQ/viewform) if you have any feedback or suggestions. |
0 commit comments