Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS-Algo-Python

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.

What is included

  • 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

Repository structure

.
├── 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

Running examples

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.

Learning focus

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.

Suggested usage

  1. Pick a topic file from pythonPractice/.
  2. Run the file and inspect the output.
  3. Modify the examples with new inputs.
  4. Re-implement the pattern from memory.
  5. Move to an algorithm example and compare the runtime or approach.

License

This repository is licensed under the terms in LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages