██████╗ ██╗ ██╗████████╗██╗ ██╗ ██████╗ ███╗ ██╗
██╔══██╗╚██╗ ██╔╝╚══██╔══╝██║ ██║██╔═══██╗████╗ ██║
██████╔╝ ╚████╔╝ ██║ ███████║██║ ██║██╔██╗ ██║
██╔═══╝ ╚██╔╝ ██║ ██╔══██║██║ ██║██║╚██╗██║
██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
This repository contains Python implementations of common data structures, algorithms, and small practice programs.
Array- array basics and index-based problemsdivideAndConquer- divide and conquer examplesGraph- graph representation, BFS, and DFSgreedyAlgo- greedy algorithm problemsLinkedList- singly and doubly linked list implementationsQueue- simple, circular, and double-ended queuesrecursion- recursive problems and examplessort- sorting algorithmsStack- stack implementation and examplesTree- binary search tree and tree traversal
armstrong.py- Armstrong number checkpoison.py- practice scriptprc.py- practice script
Use Python 3 to run any file directly:
python path/to/file.pyExamples:
python sort/quickSort.py
python Graph/BFS.py
python Tree/BST.pyThis repository is for learning, practice, and quick reference. The code is organized by topic so it is easy to find a specific algorithm or data structure.
- File names are kept simple for quick study and testing.
- Some files may be standalone practice programs rather than reusable modules.