Skip to content

ai-dg/algorithms-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 

Repository files navigation

algorithms-practice - Algorithm & Data Structure Challenges

πŸ“Œ Personal Practice Repository – Algorithmic Problem Solving & Coding Interview Prep

β–Œ Description

This repository contains my personal solutions to algorithm and data structure problems, mostly written in Python and C/C++.
The goal is to strengthen problem-solving skills, prepare for coding interviews, and reinforce computer science fundamentals.

Problems are inspired by platforms like LeetCode, and other online judges.

flowchart TB
    A[Pick a problem] --> B[Understand constraints]
    B --> C[Choose data structure]
    C --> D[Design algorithm]
    D --> E[Implement solution]
    E --> F[Test on cases]
    F --> G[Analyze complexity]
    G --> H[Refactor and document]
    H --> I[Commit and push]

    %% Topic buckets
    C --> T1[Arrays and Strings]
    C --> T2[Hashmaps and Sets]
    C --> T3[Stacks and Queues]
    C --> T4[Trees and BST]
    C --> T5[Graphs and BFS DFS]
    C --> T6[Dynamic Programming]
    C --> T7[Greedy]
    C --> T8[Sorting and Searching]

    %% Styling
    classDef flow fill:#4c72b0,color:#ffffff,stroke:#2c4a7a,stroke-width:2px;
    classDef design fill:#55a868,color:#ffffff,stroke:#2f6f46,stroke-width:2px;
    classDef build fill:#dd8452,color:#ffffff,stroke:#8a4a24,stroke-width:2px;
    classDef quality fill:#c44e52,color:#ffffff,stroke:#7a1f24,stroke-width:2px;
    classDef topics fill:#7f7f7f,color:#ffffff,stroke:#4a4a4a,stroke-width:2px;

    class A,B flow
    class C,D design
    class E,F build
    class G,H,I quality
    class T1,T2,T3,T4,T5,T6,T7,T8 topics

Loading

β–Œ Repository Status πŸ“ˆ

β–  Organized by platform and topic

β–Έ LeetCode solutions (Python)
β–Έ Custom logic exercises for learning and experimentation

β–  Actively maintained

β–Έ New problems added regularly
β–Έ Solutions are being reviewed and optimized
β–Έ Comments and explanations are in progress

⚠ This is a learning repository – some solutions may be in progress or marked for improvement.

β–Œ Objectives

βœ” Improve algorithmic thinking
βœ” Prepare for technical interviews
βœ” Practice data structures (lists, trees, graphs, stacks, etc.)
βœ” Explore time and space complexity
βœ” Learn to write clean, readable, and efficient code

β–Œ How to Use

β–  Clone the repository

git clone https://github.com/ai-dg/algorithms-practice.git
cd algorithms-practice

β–  Explore folders

Each folder represents a different platform or topic. Inside, you’ll find:

The problem description (if needed)

The code solution

Sometimes, notes or explanation files

β–Œ Technologies Used

β–Έ Languages: Python, C, C++ β–Έ Tools: VSCode, g++, Python3 CLI β–Έ Platforms: LeetCode, custom challenges

πŸ“œ License

This repository is open for learning and collaboration. If you use these solutions for practice, feel free to contribute improvements or explanations. Avoid direct copy-pasting for assignments or schoolwork – understanding comes first!

About

Programming practice: Python, C, C++ etc..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages