Skip to content

This Github repo contains my personal learning journey of data structures and algorithms, with code implementations in C++. Explore the repo to learn more about various data structures and algorithms and how they can be implemented in C++.

Notifications You must be signed in to change notification settings

moazamdev/data-structures-and-algorithms

Repository files navigation

Data Structures and Algorithms

This Github repository contains my personal learning journey of data structures and algorithms, with code implementations in C++. It is aimed at anyone who wants to learn about different data structures and algorithms and how to implement them in C++.

Table of Contents

  • Data Structures
  • Algorithms
  • How to Run the Code
  • Contributing

Data Structures

The following data structures are currently implemented in this repository:

  • Array
  • Linked List
  • Stack
  • Queue
  • Binary Search Tree
  • Heap

Algorithms

The following algorithms are currently implemented in this repository:

  • Sorting Algorithms
  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Merge Sort
  • Quick Sort
  • Searching Algorithms
  • Linear Search
  • Binary Search

How to Run the Code

  • Clone the repository using git clone https://github.com/moazamdev/data-structures-and-algorithms.git
  • Navigate to the directory using cd data-structures-and-algorithms
  • To run a specific program, navigate to the respective folder and run the command g++ -o <program_name> <program_name>.cpp && ./<program_name>
  • Alternatively, to run all programs, run the command make in the root directory. This will compile all the programs and create executables which can be run using the command ./<program_name>

Contributing

If you find a bug or want to suggest an improvement, please feel free to submit a pull request. Contributions are always welcome!

About

This Github repo contains my personal learning journey of data structures and algorithms, with code implementations in C++. Explore the repo to learn more about various data structures and algorithms and how they can be implemented in C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages