Giter Club home page Giter Club logo

cs-algorithms's Introduction

Computer Science - Algorithms


A community-built repository which includes most of the important algorithms to help programmers.

What is this repository for?

This is list of many useful algorithms implemented across different languages. Every computer science student should know these.

Who can contribute for this repository?

Anyone. Absolutely anyone can contribute to this repository. Please check the rules below before you make pull requests.

CONTRIBUTION

How to contribute?

  • Add an issue to this repository stating Algorithm Name and Language
  • Fork this repository
  • Pick an Algorithm and a Language
  • Try to make the code more readable by adding comments wherever required
  • Add it to your repository in the directory order [repository root]/Algorithm Type/Algorithm Name/Language/
  • Create a Pull request
  • Feel free to improve the README.md

Rules

  • Please do not spam pull request for the sake of Hacktoberfest.
  • No duplicate entries. Please check if the code is existing or not before you start submitting.
  • Star this repository to show appreciation towards public efforts.

cs-algorithms's People

Contributors

abhinavj004 avatar ajaykumar1018 avatar amitaero7 avatar amritansh22 avatar avi181197 avatar co18326 avatar cr3ax avatar deepansharora27 avatar ghostoverdrive avatar h4wwk3ye avatar iam-abbas avatar iamshm avatar isha-2812 avatar isha16 avatar jatinsachdevame avatar kooljais24 avatar kunal164107 avatar mujtaba1747 avatar probot-auto-merge[bot] avatar rajnishmaurya73 avatar sahastrakishore123 avatar sakshamsachdeva avatar sawlani1234 avatar sourabhmandal avatar souravmondaldev avatar srezzag avatar tpriyanshu90 avatar varun514 avatar varunsingh005 avatar xenowits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cs-algorithms's Issues

[Algorithm] - BFS

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: BFS

  • Language: Python

Selection Sort

Selection Sort - Algorithm

  • This algorithm is not available in the repository currently.

I want to contribute Selection Sort in this repo.

Information

  • Algorithm Name:
    Selection Sort

  • Language:
    C++

[Algorithm] - Merge Sort

CS - Algorithm

-[✓ ] This algorithm is not available in the repository currently.

  • If it is, My Algorithm is implemented in a different method.

Information

  • Merge Sort

  • CPP

[Algorithm] -FractionalKnapsack-cpp

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name:

  • Language:

Move files to right directories

There are few files in the main root directory and few files have wrong extensions. Correct them and move them to their respective directories.

[Algorithm] - Staircase / Stairs Climbing

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name:
    Staircase / Stairs Climbing
  • Language:
    Python

[Algorithm] - Kruskal Algorithm in C++

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method. Currently it is available in python only.

Kruskal Algorithm for Minimum Spanning Tree

  • **Algorithm Name: Kruskal Algorithm

  • **Language: C++

Searching - Exponential Search

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Exponential Search

  • Language: C++

[Algorithm] - Quick Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Quick Sort

  • Language: Python

Window Sliding Technique

CS - Algorithm

  • This algorithm is not available in the repository currently.

Information

  • Window Sliding Technique:

  • C++:

Optimal Cost of BST [Dynamic Programming]

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Optimal Cost of BST

  • C++

[Algorithm] - Kadane's Algorithm

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Calculate the maximum sub array sum in an array

  • **Algorithm Name: Kadane's Algorithm

  • **Language: C++

[Algorithm] - Binary Search

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Binary Search

  • Language: Python

[Algorithm] - Knight’s Tour

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Knight’s Tour

  • Language: Cpp, C, Python

[Algorithm] - Sudoku Backtracking

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name:-Backtracking

  • Language:-CPP

[Algorithm] - Max Product Array

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Max product array

  • Language: C++

[Algorithm] - InsertionSort in Kotlin

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: InsertionSort

  • Language: Kotlin

[Algorithm] - KMP Algorithm for Pattern Searching

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Knuth Morris Pratt Pattern Searching Algorithm

  • CPP:

[Algorithm] - Heap Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Heap Sort

  • Language: Python

[Algorithm] - CoinChangeAlgorithm

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name:

  • Language:

[Algorithm] - N Queen

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: N Queen

  • Language: Cpp, C

Shortest Job First CPU scheduling algorithm

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Shortest Job First CPU Scheduling Algorithm (with arrival time zero for all processes).

  • Language: C

Add Algorithms to this Repository

Hey guys,

Hope you guys are having a great time with Hacktoberfest. This repo consists of Algorithms in Python/C/Cpp but it’s currently not done yet. There are many algos that need to be added.

  • Read the ReadME file
  • Make an Issue of the algorithm you want to add
  • submit PR

And I will merge your request

Bubble-Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

Bubble Sort

  • C++

[Algorithm] - Bubble Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Bubble Sort

  • Language: Python

[Algorithm] - Knapsack-DP

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Knapsack - Dynamic Programming

  • Language: C++

Tree Traversal

Tree Traversal

  • This algorithm is not available in the repository currently.

Information

  • BFS

  • DFS

  • C++.

Binary-Search

CS - Algorithm

  • This algorithm is not available in the repository currently.

Information

  • Binary Search

  • C++

[Algorithm] - Sieve of Eratosthenes (Math/C++)

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Sieve of Eratosthenes

  • Language: C++

[Algorithm] - PageRank

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • PageRank

  • Language:
    Python

[Nearest Neighbour] - Travelling Salesman Problem

CS - Algorithm

  • [ ] This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Nearest Neighbour: Travelling Salesman Problem

  • C

[Algorithm] - Closest Pair of Points

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Closest Pair of Points

  • Language: C++

[Algorithm] - Insertion Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Insertion Sort

  • Language: Any

[Algorithm] - CountingSort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Counting Sort

  • Language: CPP

Searching - Interpolation

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Interpolaton

  • Language: C++

[Algorithm] - FCFS

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name:
    First Come, First Serve(FCFS) CPU Scheduling algorithm
  • Language:
    Python

[Algorithm] - Merge sort

CS - Algorithm

  • [Merge sort ] This algorithm is not available in the repository currently.

Information

  • Merge sort:

  • C++:

[Algorithm] - Floyd Cycle detection Algorithm

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

This is a pointer based algorithm helps us in detecting any loops .

  • **Algorithm Name:Floyd Cycle Detecting Algorithm

  • **Language: C++

[Algorithm] - Bucket Sort

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Bucket Sort

  • C++

Update ReadMe

Update ReadMe without following information

  • What is this repository for?
  • Who can use it?
  • How to contribute
  • Add public license

[Algorithm] - Binary Search in Ruby

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Binary Search

  • Language: Ruby

Sieve of Eratosthenes, Segmented Sieve

CS - Algorithm

  • This algorithm is not available in the repository currently.
  • If it is, My Algorithm is implemented in a different method.

Information

  • Algorithm Name: Sieve of Eratosthenes, Segmented Sieve

  • Language: C++

[Algorithm] - Graph Traversal (BFS and DFS)

CS - BFS and DFS

  • This algorithm is not available in the repository currently.

Information

  • Breadth First Search(BFS) and Depth First Search(DFS) - Graph Traversal techniques and popular algorithms

  • Language : C

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.