A Python practice repository for data structures, algorithms, and core language fundamentals.
This repo is organized as a set of small, focused scripts. Each file demonstrates a specific Python concept or algorithmic pattern and can be run independently while studying or reviewing fundamentals.
- Python language basics
- Arrays / lists
- Strings
- Loops and conditionals
- Hash maps and hash sets
- Queues
- Sorting examples
- Basic math types
- Dynamic programming examples
- Memoization experiments
- Fibonacci implementations
.
├── Algorithms/
│ └── Dynamic Programming/
│ ├── Fibonacci.py
│ └── Memoization.py
└── pythonPractice/
├── arrays.py
├── hashmaps.py
├── hashsets.py
├── if_else.py
├── loops.py
├── mathtype.py
├── queues.py
├── sorting.py
├── strings.py
└── variables.py
Each file is a standalone Python script.
python3 pythonPractice/arrays.py
python3 pythonPractice/hashmaps.py
python3 "Algorithms/Dynamic Programming/Fibonacci.py"Some algorithm files are intentionally exploratory and print intermediate output to make behavior visible while learning.
This repository is meant for deliberate practice rather than packaging or deployment. The code favors small examples that make the mechanics of Python data structures and algorithmic thinking easy to inspect.
- Pick a topic file from
pythonPractice/. - Run the file and inspect the output.
- Modify the examples with new inputs.
- Re-implement the pattern from memory.
- Move to an algorithm example and compare the runtime or approach.
This repository is licensed under the terms in LICENSE.