π Personal Practice Repository β Algorithmic Problem Solving & Coding Interview Prep
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
βΈ LeetCode solutions (Python)
βΈ Custom logic exercises for learning and experimentation
βΈ 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.
β 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
git clone https://github.com/ai-dg/algorithms-practice.git
cd algorithms-practiceEach folder represents a different platform or topic. Inside, youβll find:
The problem description (if needed)
The code solution
Sometimes, notes or explanation files
βΈ Languages: Python, C, C++ βΈ Tools: VSCode, g++, Python3 CLI βΈ Platforms: LeetCode, custom challenges
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!