Harness the power of Python objects and data structures to implement algorithms for analyzing your data and efficiently
1,030 240 8MB
English Pages 722 Year 2019
Table of contents :
Table of ContentsA Gentle Introduction to PythonBuilt-in Data TypesIterating and Making DecisionsFunctions, the Building Blocks of CodeSaving Time and MemoryFiles and Data PersistencePrinciples of Algorithm DesignLists and Pointer StructuresStacks and QueuesTreesHashing and Symbol TablesGraphs and Other AlgorithmsSearchingSortingSelection AlgorithmsDesign Techniques and StrategiesObject-Oriented DesignObjects in PythonWhen Objects Are AlikeExpecting the UnexpectedWhen to Use Object-Oriented ProgrammingPython Object-Oriented ShortcutsStrings and SerializationThe Iterator PatternPython Design Patterns IPython Design Patterns IITesting Object-Oriented Programs