Preface
- Why this Book?
- Who This Book is Meant For
- Part 1 - The Basics
Introduction
- The Study Plan
- Where it All Begins
Fundamentals
- The beloved hello world
- The command line
- .py code
- The main
- Coding Practice of the day
- Warm up
- Medium
See you
tomorrow!
- Basic Input/Output
- Output manipulation
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Give it to me!
- Warm up
- Medium
- Power-up
See you
tomorrow!
Basic Types
- Numeric Types
- Strings
- Other types
- Coding Practice of the day
- Warm up
- Medium
- Power up
See you
tomorrow!
Structure of a Python Program
- Statements and Expressions
- Functions
- Modules
- input() function
- Packages
- Modular Programming
- Import
- Absolute vs relative
- Importing a package
- Putting it all together
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Variables
- Referencing
- Keywords
- What To Avoid
- Convensions
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Python Objects
- Class
- Initialization
- Attributes
- Methods
- Functions
- @properties
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Polymorphism
- Inheritance
- This is…Super!
- Overload
- Override
- Types of Inheritance
- Coding Practice of the day
- Warm up
- Medium
- Power-up
- Composition
- Rule of Thumb
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Conditional Flows
- If statement
- Multiple Checks
- Membership
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Loops
- While
- For
- Further Modifying the Flow
- Break
- Continue
- pass
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Error Handling
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Documentation
- The Syntax
- If the Code is Good I don’t need Comments Philosophy
- Conditions and Flows
- IO Definition
- Inline Comments
- TODOs
- That’s Obvious
- Did you just lie to that programmer?
- Comments Driven Development (CDD)
- Coding Conventions
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Part 2 - Algorithms
Introduction
Recursion
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Iteration
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Greedy Agorithms
- Thinking Greedy
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Dynamic Programming
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
NP-Hard problems
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Part 3 - Data Structures
Introduction
- Intro to Data Structures
Array
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Linked-List
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Doubly Linked-List
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Stack
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Queue
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Hash Map
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Binary Search Trees
- Internals
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Takeaway
Further Reading
- Part 4 - Design Patterns
Introduction
- Design Patterns
Creational
- Singleton
- The code
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Lazy Initialization
- The Code
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Builder
- The Code
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Abstract Factory
- The Code
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Factory Method
- The Code
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
Structural
- Adapter
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Decorator
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Facade
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Composite
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
Behavioural
- Observer
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Publisher-Subscriber
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Iterator
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Visitor
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- State
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Chain of Responsibility
- What
- How
- When
- Don’ts
- Coding Practice of the day
- Warm up
- Medium
- Power-up
See you
tomorrow!
- Part 5 - Solutions
The Basics
- Basic types
- Warm up
- Medium
- Structure of a Python Program
- Warm up
- Medium
- Variables
- Warm up
- Medium
- Python Objects
- Warm up
- Medium
- Polymorphism
- Warm up
- Medium
- Conditional Flows
- Warm up
- Medium
- Power-up
- Loops
- Warm up
- Medium
- Errors
- Warm up
- Medium
- Documentation
- Warm up
- Medium
Algorithms
Data Structures
- Array
- Warm up
- Medium
- Power-up
- Linked-List
- Warm up
- Medium
- Power-up
- Stack
- Warm up
- Medium
- Power-up
- Queue
- Warm up
- Medium
- Power-up
- HashMap
- Warm up
- Medium
- Power-up
- Binary Search Tree
- Warm up
- Medium
- Power-up
Design Patterns
Conclusions
About the author
More from Giuliana Carullo
- More from Giuliana Carullo