This repository contains code snippets and practice problems related to Data Structures and Algorithms (DSA) using Python. I'm currently enrolled in a DSA course on Codecademy and using this repo to document my progress. All code files are saved locally and organized topic-wise to make it easy for other learners to follow along.
Whether you're a beginner or revisiting DSA concepts, feel free to explore the code and enhance your understanding!
Each folder corresponds to a different DSA topic or concept covered in the course:
Node/
โ Node class and linking basicsSingly Linked List/
โ Implementation and traversal of singly linked listsDoubly Linked List/
โ Implementation with forward and backward traversalQueue/
โ FIFO structure using PythonStack/
โ LIFO structure using PythonHashmap/
โ Hash table basics and collision handlingRecursion/
โ Recursive logic and function stack behaviorNaive Pattern Search/
โ String searching algorithm (brute-force approach)Sorting Algorithms/
โ Sorting techniques: Bubble, Selection, Insertion, etc.Brute Force Algorithms/
โ Searching techniques: Linear SearchTree /
โ An Introduction : Parent, Child etc.
- Language: Python 3
- Editor: Visual Studio Code (or any code editor)
- Version Control: Git & GitHub
-
Clone the repository:
git clone https://github.com/waqarali5498/DSA-Python-CodeCademy.git
-
Navigate to a specific topic:
cd "4. Stack"
-
Run the Python file(s):
python stack_example.py