An open API service indexing awesome lists of open source software.

https://github.com/sahil-113/dsa-practice-questions

This repository contains a curated collection of Data Structures and Algorithms (DSA) practice questions with detailed solutions. It is designed to help students and professionals improve their problem-solving skills for coding interviews, competitive programming, and technical assessments. The solutions are written in Python, and C++ with OOPs...
https://github.com/sahil-113/dsa-practice-questions

arrays-and-strings bit-manipulation dynamic-programming graph linked-list stack tree

Last synced: 3 months ago
JSON representation

This repository contains a curated collection of Data Structures and Algorithms (DSA) practice questions with detailed solutions. It is designed to help students and professionals improve their problem-solving skills for coding interviews, competitive programming, and technical assessments. The solutions are written in Python, and C++ with OOPs...

Awesome Lists containing this project

README

          

# DSA Practice Questions with Solutions

Welcome to the DSA Practice Questions with Solutions repository! This repository contains a collection of Data Structures and Algorithms (DSA) problems along with well-structured solutions in multiple programming languages. It is designed to help students and professionals prepare for coding interviews, competitive programming, and technical assessments.

## πŸ“Œ Features

πŸ“ Comprehensive Solutions: Each problem includes a detailed explanation and optimized solution.

πŸ† Covers Key DSA Topics: Arrays, Linked Lists, Stacks, Queues, Trees, Graphs, Sorting, Searching, Recursion, Dynamic Programming, and more.

πŸš€ Optimized Code: Solutions focus on efficiency and best practices.

🎯 Difficulty Levels: Problems categorized into Easy, Medium, and Hard.

🌍 Language Support: Solutions provided in C++ and Python.

## πŸ“‚ Folder Structure

DSA-Practice-Questions/
│── Arrays/
│── LinkedLists/
│── Stacks/
│── Queues/
│── Trees/
│── Graphs/
│── Recursion/
│── DynamicProgramming/
│── SortingSearching/
│── Miscellaneous/
│── README.md

## πŸ”₯ Topics Covered

βœ… Arrays – Sliding Window, Two Pointers, Sorting, Searching, Kadane’s Algorithm, etc.
βœ… Linked Lists – Reversal, Cycle Detection, Merge, Partitioning, etc.
βœ… Stacks & Queues – Next Greater Element, Balanced Parentheses, etc.
βœ… Trees – Traversals, BST, AVL, Heap, Segment Tree, etc.
βœ… Graphs – BFS, DFS, Dijkstra, Floyd-Warshall, Topological Sorting, etc.
βœ… Recursion & Backtracking – Subsets, Permutations, N-Queens, etc.
βœ… Dynamic Programming – Fibonacci, Knapsack, LIS, Matrix Chain Multiplication, etc.
βœ… Sorting & Searching – QuickSort, MergeSort, Binary Search Variations, etc.

## πŸ’‘ How to Contribute

We welcome contributions! Follow these steps to contribute:

Fork the repository.

Clone your forked repository:

git clone https://github.com/Sahil-113/DSA-Practice-Questions.git

Create a new branch:

git checkout -b feature-branch

Add your solution in the respective folder.

Commit and push:

git add .
git commit -m "Added solution for XYZ problem"
git push origin feature-branch

Submit a Pull Request (PR) and wait for review.

## πŸ“Œ Prerequisites

To run the solutions, you need:

Python (>=3.7)

GCC for C++

Java JDK (>=8)

πŸ“œ License

This project is licensed under the MIT License – feel free to use, modify, and share!

### 🌟 Show Your Support

If you find this helpful, ⭐ star this repository to keep it growing!

### Happy Coding! πŸš€