Skip to content

Lotfullah21/Data-Structures-And-Algorithms

Repository files navigation

Data Structures and Algorithms

Data Structure:

The way to organize data in main memory.

Algorithm:

The sequence of steps to solve a problem.

Welcome to my repository for Data Structures and Algorithms solutions! Here, I share my solutions and implementations for various DSA problems, organized by topics.

Table of Contents

Introduction

This repository is a collection of my solutions to common Data Structures and Algorithms (DSA) problems. Whether you're preparing for coding interviews or just want to strengthen your understanding of DSA concepts, you'll find a variety of topics covered here.

Each folder corresponds to a specific DSA topic, containing solutions in python programming language. Feel free to explore and use these solutions for learning and reference purposes. Within each folder, you'll find solutions to general DSA problems as well as solutions to LeetCode problems related to that topic.

Table of Contents:

Folder Name Description Link
.vscode VS Code settings and configurations .vscode
02-mathematics Mathematics related solutions mathematics
03-list List related solutions list
04-tuples Tuples related solutions tuples
05-sets Sets related solutions sets
06-functions Functions related solutions functions
06-loops Loops related solutions loops
08-patterns Patterns related solutions patterns
09-arrays Arrays related solutions arrays
10-bits Bit manipulation related solutions bits
11-dictionary Dictionary related solutions dictionary
12-hashmap Hashmap related solutions hashmap
13-searching Searching algorithms solutions searching
14-sorting Sorting algorithms solutions sorting
15-recursion Recursion related solutions recursion
16-stack Stack data structure solutions stack
17-string String manipulation solutions string
18-linked-list Linked List data structure solutions linked-list
19-trees Tree data structure solutions trees
20-binary-search-tree Binary Search Tree data structure solutions binary-search-tree
21-deque Deque data structure solutions deque
22-queue Queue data structure solutions queue
23-two-pointers Two Pointers technique solutions two pointers
24-heap Heap data structure solutions heap
25-matrix Solution to matrix problems matrix
26-dynamic-programming Dynamic Programming solutions dynamic-programming
27-graphs More Graph data structure solutions graphs
28-advanced-mathematics Advanced Mathematics solutions advanced-mathematics
assets Various assets like images, etc. assets
python-helper Helper files and utilities for Python solutions python-helper

Contributing

If you'd like to contribute to this repository by adding your own solutions or improving existing ones, feel free to fork the repository and submit a pull request! Your contributions are greatly appreciated.