a bunch of python projects i built while learning. started with a calculator, kept going from there.
the first one i built. got comfortable here with while loops, inputs and why you can't do math on strings directly.
python calculator.py
made this for placement prep. 10 random questions each time from quant, logical, verbal and python topics. 30 seconds per question. tells you which topics you keep getting wrong and saves your history so you can see if you're improving.
cd aptitude-quiz
python3 quiz.py
type in any numbers, watch bubble sort, merge sort and quick sort race each other. shows every step, how many comparisons each one made and which one won. bubble sort on a bigger list makes it very obvious why people don't use it in real life.
cd algorithm-race
python3 race.py
coded linked list, stack, queue and binary search tree myself without any libraries. each one has a menu where you can insert, delete, search and display. the bst search tells you how many steps it needed to find the value.
cd dsa-playground
python3 playground.py
built a graph from scratch using adjacency list. you can add vertices and edges, then run BFS, DFS, dijkstra's shortest path, and cycle detection on it. supports both directed and undirected graphs. comes with a sample graph loaded in one key so you can see everything working immediately.
cd graph-algorithms
python3 graph.py
not another tutorial. this one teaches you how to think — pattern recognition is the actual skill that decides if you pass or fail a placement DSA round. covers 7 patterns: two pointers, sliding window, binary search, hashmap, stack, bfs on grid, and dp. each one shows when to use it, how to think through a problem, the code, and running output. ends with a quiz where you have to identify the right pattern from a problem description.
cd dsa-patterns
python3 patterns.py
generates a random maze and solves it two ways — BFS finds the shortest path, DFS finds the first path it can. shows both side by side so you can see how many steps each one wasted. built this right after the graph project to actually apply BFS and DFS on something visual.
cd maze-solver
python3 maze.py
built by azlan — B.Tech CSE (AI & ML), GPREC, Kurnool