Giter Club home page Giter Club logo

algos's Introduction

algos

Description

This repository contains C++ code for various algorithms. The algorithms implemented here are mainly from computer science and mathematics. These algorithms have been implemented in C++ for educational purposes.

Algorithms included

  • Sorting algorithms: bubble sort, selection sort, insertion sort, merge sort, quicksort, heapsort.
  • Graph algorithms: Breadth-First Search (BFS), Depth-First Search (DFS), Dijkstra's Algorithm, Bellman-Ford Algorithm, Kruskal's Algorithm, Prim's Algorithm.
  • Dynamic Programming algorithms: Longest Common Subsequence (LCS), Knapsack Problem, Matrix Chain Multiplication, Edit Distance.

Usage

To use these algorithms, simply clone the repository and compile the C++ files using a C++ compiler. Each algorithm is implemented in its own file, making it easy to find and use the specific algorithm you need.

Contributing

Contributions are welcome! If you have implemented an algorithm in C++ that is not currently included in this repository, feel free to submit a pull request.

git clone https://github.com/patriicke/algos.git
cd algos
g++ sorting/bubble_sort.cpp -o bubble_sort
./bubble_sort

algos's People

Contributors

patriicke avatar

Watchers

 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.