Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more algorithms #24

Closed
AnupKumarPanwar opened this issue Sep 28, 2017 · 30 comments
Closed

Add more algorithms #24

AnupKumarPanwar opened this issue Sep 28, 2017 · 30 comments

Comments

@AnupKumarPanwar
Copy link
Member

This repo has less contributions. Please add more algorithms.

See the structure and README of this repo for reference
https://github.com/TheAlgorithms/Python

@goyaljai
Copy link

i would like to contribute. thanks

@dynamitechetan
Copy link
Member

@goyaljai Sure. Thanks.

@goyaljai
Copy link

which type of algortihms? and where and how to add?

@joealam
Copy link

joealam commented Sep 28, 2017

Is there any kind of contribution guide, or at least more information about the desired format of the contributions?

For example: should every algorithm be a single file? should they aim to be runnable without additional dependencies? etc.

@shivamgor498
Copy link

can we add cocktail sort algorithm??

@AnupKumarPanwar
Copy link
Member Author

@joealam A single file is preferred and keep modular approach. Divide you code into function instead of breaking into multiple files and use the general head files for basic algorithms.

@Vehemos
Copy link

Vehemos commented Sep 28, 2017

I would like to contribute to this. Thanks!

@vishvanath45
Copy link

I would like to contribute by adding Dijsktra Algorithm.

@shubhammatta
Copy link

I would like to add - Disjoint_Set_Union , Range_Minimum_query(Using Sparse Table) , KMP(Knuth–Morris–Pratt) Algorithm , Lowest_Common_Ancestor.

shubhammatta added a commit to shubhammatta/C-Plus-Plus that referenced this issue Sep 29, 2017
Added follwing algorithms
KMP
DSU
LCA
RMQ_SparseTable
@boozec boozec mentioned this issue Oct 1, 2017
@vibhorgupta-gh
Copy link

I'd like to add some sweet functions to Linked Lists and other algorithms like Count Sort, segmented sieve and totient functions. It'd be great if you acknowledged!

@arpanjain97
Copy link
Contributor

I'd like to add the following shortest distance algorithms :

  1. Dijkstra
  2. Bellman-Ford
  3. Floyd-Warshall

@nghiaxlee
Copy link
Contributor

nghiaxlee commented Oct 15, 2017

Hello, I'd like to add Comb Sort algorithm #48

t0rr3sp3dr0 added a commit to t0rr3sp3dr0/C-Plus-Plus that referenced this issue Oct 25, 2017
t0rr3sp3dr0 added a commit to t0rr3sp3dr0/C-Plus-Plus that referenced this issue Oct 26, 2017
@rohitchugh9
Copy link
Contributor

I would like to add Dynamic Programming Algorithms.

  1. Edit Distance
  2. 0/1 Knapsack
  3. Egg Dropping Puzzle
  4. Subset Sum
  5. All Valid Parentheses

@sarcastic-noob
Copy link

I would like to contribute to the sorting algorithms and add pigeonhole sort.

@rsenwar
Copy link
Contributor

rsenwar commented Oct 16, 2018

#138 Have a look at this PR, I am looking to add more programs related to Mathematics.

This was referenced Oct 29, 2018
@Tarkjot Tarkjot mentioned this issue Oct 31, 2018
@GOVINDDIXIT
Copy link

I want to add optimal BST in DP category

@anudishjain
Copy link

Hi, I would like to add the following Dynamic Programming Algorithms,

  • Trapping Rain Water (1D)
  • Maximum Product Subarray
  • Number of ways to decode a given number as a string (Decode Ways)

@shivansh2598
Copy link

Hi, I would like to add the following Algorithms,

  1. Binomial Coefficient in the DP category.
  2. Finding LCM using the Euclidean algorithm in the Math category.

@sankalpchauhan-me
Copy link

Hi, I would like to add the following Algorithm to Range Queries:
-> Binary Indexed Tree/Fenwik Tree

@tanaytoshniwal
Copy link

I would like to add Bit Masking / Bit Manipulation Algorithms

  • Check ith bit
  • Check Odd or Even
  • Check Power of 2
  • Clear all bits from MSB
  • Convert Number to Binary
  • Flip ith Bit
  • Return First Set Bit
  • Turn Off First Set Bit
  • Turn Off ith bit
  • Turn On ith bit

@Pratap2018
Copy link

I want to add a new searching algorithm.

@RitvijSrivastava
Copy link

Added Iterative Implementation of Quick Sort #343

@vishaldhull09
Copy link

i want to add algorithm to detect loop in a linked list.

@ropinho
Copy link

ropinho commented Oct 3, 2019

I have implemented manually code for split a string.
I would like to add this algorithm here...

  • Split a string through a separator char

@humaidkidwai
Copy link

humaidkidwai commented Oct 8, 2019

I would like to contribute by adding solution to Maximum Size Sub-Square problem through Dynamic Programming
added #466

@Xacrolyte
Copy link

Added a Bresenham Line Algorithm under the Graphics section. Adding more
#478

@instinxt
Copy link

would like to add data structure programs for queue , linked list variations , if this issue is still open

@devbhansingh
Copy link

I would like to contribute to this project. Are there any particular algorithms that this project needs?

@kvedala
Copy link
Collaborator

kvedala commented Oct 6, 2020

You can contribute

  1. code that addresses open issues
  2. code that is in line with the repo objectives in the readme file
  3. Suggestions in the projects

Whatever you contribute, ensure to read the repo guidelines and checklist provided in the description when creating a pull-request. This is your checklist that you have not reviewed at all: #1187 (comment)

@fhlasek
Copy link
Contributor

fhlasek commented Oct 11, 2020

@kvedala this issue seems like an anti-pattern type of issue with no particular way of resolving it. Let me close it and reopen if you think there's a good reason to have it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests