Skip to content

A structured repository of Data Structures and Algorithms problems solved in C++, complete with clear explanations and solution breakdowns. Designed as a learning platform to simplify DSA concepts and serve as a personal reference for mastering coding interviews and competitive programming.

License

Notifications You must be signed in to change notification settings

Roshan-Metrix/DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA Practice & LeetCode solved Problems

This repository contains solutions to various Data Structures and Algorithms (DSA) problems. The goal is to practice and improve problem-solving skills by implementing efficient algorithms in C++.

Getting Started

Follow these steps to set up your environment and start using this repository:

1. Clone the Repository

Open your terminal or command prompt and run:

git clone https://github.com/roshan-metrix/DSA.git

2. Install Visual Studio Code (VS Code)

3. Install C++ Extension for VS Code

  • Open VS Code.
  • Go to Extensions (Ctrl+Shift+X).
  • Search for "C++" and install the C/C++ extension by Microsoft.

4. Install MinGW (C++ Compiler for Windows)

5. Set Up Environment Variables (Windows)

  • Find the path to the bin folder inside your MinGW installation (e.g., C:\mingw-w64\bin).
  • Open Control Panel > System > Advanced system settings > Environment Variables.
  • Under "System variables", find and edit the Path variable.
  • Add the path to your MinGW bin folder.
  • Click OK to save.

6. Verify Installation

Open a new command prompt and run:

g++ --version

You should see the installed version of g++.

7. Run and Test Solutions

  • Open the cloned repository folder in VS Code.
  • Browse the folders for different topics.
  • Open any .cpp file and press F5 or use the terminal to compile and run:
g++ filename.cpp -o output
./output

Features

  • Solutions to popular DSA problems
  • Well-commented C++ code
  • Organized by topic (arrays, linked lists, trees, graphs, etc.)

Contributing

Feel free to fork the repo and submit pull requests for improvements or new solutions.

License

This project is licensed under the MIT License.

About

A structured repository of Data Structures and Algorithms problems solved in C++, complete with clear explanations and solution breakdowns. Designed as a learning platform to simplify DSA concepts and serve as a personal reference for mastering coding interviews and competitive programming.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 2

  •  
  •