π Visit the interactive documentation website: https://chevyphillip.github.io/python-data-structures-practice/
This repository contains comprehensive Python data structures and standard library exercises designed specifically for WGU's Master of Science in Software Engineering - AI Engineering program.
What You'll Learn:
- Core Data Structures: Master lists, dictionaries, and sets with practical applications
- Advanced Python Modules: Deep dive into
itertools,collections, andfunctools - Functional Programming: Learn modern Python patterns and optimization techniques
- Real-world Applications: Practice with scenarios relevant to AI/ML and software engineering
- Master Python data structure fundamentals (lists, dictionaries, sets)
- Practice real-world data manipulation scenarios
- Build confidence with slicing, indexing, and operations
- Master built-in functions for data transformation (
map,filter,zip,enumerate) - Learn advanced iteration patterns with
itertoolsmodule - Utilize specialized data structures from
collectionsmodule - Apply functional programming concepts with
functoolsmodule
- Prepare for advanced AI/ML data handling
- Develop algorithmic thinking and problem-solving skills
- Build efficient, Pythonic code using standard library tools
π’ Beginner Level - Foundation concepts and operations
01_lists_basics.ipynb- Foundation list operations and methods02_dictionaries_basics.ipynb- Dictionary fundamentals and key-value operations03_sets_basics.ipynb- Set operations, logic, and mathematical operations04_combined_basics.ipynb- Integration practice with multiple data structures
π‘ Intermediate Level - Advanced Python modules and functional programming
01_builtin_functions.ipynb- Mastermap(),filter(),zip(),enumerate(),sorted()02_itertools_mastery.ipynb- Advanced iteration withchain(),combinations(),groupby(), infinite iterators03_collections_mastery.ipynb- Specialized data structures:Counter,defaultdict,deque,namedtuple04_functools_mastery.ipynb- Functional programming:partial,reduce,lru_cache,singledispatch
π΄ Advanced Level - Real-world applications and complex scenarios
01_combined_practice.ipynb- Complex multi-structure problems02_ai_scenarios.ipynb- AI/ML relevant applications and data processing
π Testing and Evaluation
ds_while_loops_assessment.ipynb- Comprehensive assessment combining data structures with control flow
sample_data.json- Sample data for practice exercises
- Complete solutions with explanations organized by difficulty level
- Alternative approaches and optimization strategies for each problem
# Clone the repository
git clone https://github.com/chevyphillip/python-data-structures-practice.git
cd python-data-structures-practice
# Install dependencies with uv
uv sync
# Start Jupyter Notebook
jupyter notebook# Clone the repository
git clone https://github.com/chevyphillip/python-data-structures-practice.git
cd python-data-structures-practice
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start Jupyter Notebook
jupyter notebookπ For detailed setup instructions, visit: Installation Guide
π’ Beginner (Basics):
- Basic operations, simple indexing
- Core data structure methods
- Foundation concepts (~30-45 minutes each)
π‘ Intermediate (Modules):
- Advanced Python standard library modules
- Functional programming concepts
- Performance optimization techniques (~45-50 minutes each)
π΄ Advanced (Applications):
- Real-world scenarios and complex problems
- Integration of multiple concepts
- AI/ML data processing patterns (~45+ minutes each)
β Progressive Learning - Start with basics, advance systematically β Hands-on Practice - Every concept includes practical exercises β Immediate Feedback - Run each code block as you write it β Comprehensive Examples - Real-world scenarios in every notebook β Manageable Chunks - Each notebook is designed for focused learning sessions β Visual Learning - Rich examples with clear output demonstrations
- Study Guide - Structured learning approach and memory aids
- Solutions - Complete solutions with multiple approaches
- Installation Guide - Detailed setup for both uv and pip
- β Progressive Curriculum - 10+ notebooks from beginner to advanced
- β
Standard Library Mastery - Complete coverage of
itertools,collections,functools - β Real-world Applications - Practical exercises with business scenarios
- β Performance Focus - Caching, optimization, and efficiency techniques
- β
Modern Dependency Management - Full support for both
uvandpip - β
Comprehensive Testing - Verification tools included (
verify_requirements.py) - β Professional Documentation - Live website with installation guides
- β Interactive Learning - Jupyter notebooks with immediate feedback
- β Multiple Learning Styles - Visual, hands-on, and theoretical approaches
- β ADHD-Friendly Design - Structured, manageable learning chunks
- β Complete Solutions - Detailed explanations and alternative approaches
- β Assessment Tools - Comprehensive testing and evaluation notebooks
Each exercise includes:
- Clear step-by-step instructions
- Helpful hints
- Common mistake warnings
- Multiple solution approaches
This is an educational resource. If you find issues or have suggestions for improvements, please open an issue or submit a pull request.
This educational content is available for academic and learning purposes.
π Live Documentation: https://chevyphillip.github.io/python-data-structures-practice/
π Repository: https://github.com/chevyphillip/python-data-structures-practice