Skip to content

This repository contains a collection of Data Structures and Algorithms (DSA) problems solved using the C++ programming language. These problems are intended for daily practice to improve the understanding of DSA concepts and strengthen the problem-solving skills.

Notifications You must be signed in to change notification settings

shyamg090/DSA-Problems

Repository files navigation

Daily Practice Coding - DSA-Problems

This repository contains a collection of Data Structures and Algorithms (DSA) problems solved using the C++ programming language. These problems are intended for daily practice to improve your understanding of DSA concepts and strengthen your problem-solving skills.

100daysofcoding

Day 1 : C++ basics and Arrays Day 2 : Maths in DSA (simple LCM, GCD, Factorial) Day 3 : pointers(Introduction) Day 4 : pointers completed(more concepts w.r.t arrays and internal opertaions of pointers) and Dynamic memmory allocations(stack and heap)

Table of Contents

  1. Introduction
  2. Installation
  3. Usage
  4. Contributing
  5. Resources
  6. License

Introduction

The DSA problems included in this repository are organized by different categories such as arrays, linked lists, trees, sorting, searching, and more. Each problem is presented as a separate file with a detailed explanation of the problem statement and a solution implemented in C++.

The main objective of this repository is to provide you with a platform to practice your coding skills by solving a variety of DSA problems. By regularly practicing these problems, you can improve your problem-solving abilities and gain a deeper understanding of various data structures and algorithms.

Installation

To use the code in this repository, follow these steps:

  1. Clone the repository to your local machine using the following command:

    git clone https://github.com/shyamg090/DSA-Problems.git
  2. Ensure that you have a C++ compiler installed on your system. If not, install one such as gcc or clang.

  3. Navigate to the cloned repository's directory:

    cd DSA-Problems

Usage

Each DSA problem is stored in a separate file. To run a specific problem, compile the corresponding C++ file and execute the resulting binary.

For example, let's say you want to run a problem called array_rotation.cpp. Open your terminal and enter the following commands:

g++ array_rotation.cpp -o array_rotation
./array_rotation

Replace array_rotation with the name of the specific problem you want to run.

Feel free to explore and modify the code to experiment with different solutions and test cases.

Contributing

Contributions to this repository are always welcome. If you want to contribute, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Implement your changes and ensure that the code compiles without errors.
  4. Write appropriate tests for the problem (if applicable).
  5. Commit your changes and push them to your forked repository.
  6. Open a pull request, describing your changes and the problem you have solved.

Please make sure to adhere to the existing coding style and maintain consistency with the structure and format of the repository.

Resources

If you are new to DSA or want to learn more, here are some helpful resources:

License

The code in this repository is licensed under the MIT License. You are free to use, modify, and distribute the code for personal and commercial purposes. Attribution is not required but appreciated.

About

This repository contains a collection of Data Structures and Algorithms (DSA) problems solved using the C++ programming language. These problems are intended for daily practice to improve the understanding of DSA concepts and strengthen the problem-solving skills.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages