Giter Club home page Giter Club logo

data-structures-and-algorithms's Introduction

Data-Structures-and-Algorithms

The code for the most commonly used data structures and algorithms is added here.
To make the data structures, more reusable, I have a template class in c++ for each data structure and added the code there so you can use them in way you want.

How to use the code?

For accessing a particular code in the folder, you just need to use the include "folder_name/includer.hpp" and use the code in that folder.
Suppose, I want to use the code for all the data structures, just take out that folder of Data structures and place it in the code and when you want to including, just type, include "Address_to_the_code/Data-Structures/includer.hpp" and it includes the code for all the data structures.
Suppose I want to use a specific structure or algorithm, so take that folder include the code same method.

How to find the exact needed code?

The directory structure is simple.
One .md file to explain and document the code.
The includer.hpp file containing the reference to the library to be used.
The code goes in src folder in .hpp files so we can include and use it.
The test code go in the tests folder inside the data structure or algorithm.
So, the over all folder for the a particular code folder have includer.hpp file, src folder, tests folder and an md file for explaination realted to it.
Go on to the links in the Index and get to the place.
For Data-Structures, I am making a class and for Algorithms, I am normal functions and not in the class.

Some notes to consider:

  • Compiler used: GNU/G++ for Linux, MinGW/G++ for Windows.
  • Tested on OS: Linux(64 bit), Windows 10(64 bit)
  • The Preprocessor macros are used in the includer.hpp files has Windows uses different format for paths.
  • The relatives paths are used. So, directory from where you are running things can matter.

Index:

Data-Structures:

Algorithms:

data-structures-and-algorithms's People

Contributors

hetdaftary avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.