C-Plus-Plus icon indicating copy to clipboard operation
C-Plus-Plus copied to clipboard

Add more algorithms

Open AnupKumarPanwar opened this issue 9 years ago • 30 comments

This repo has less contributions. Please add more algorithms.

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

AnupKumarPanwar avatar Sep 28 '17 12:09 AnupKumarPanwar

i would like to contribute. thanks

goyaljai avatar Sep 28 '17 16:09 goyaljai

@goyaljai Sure. Thanks.

dynamitechetan avatar Sep 28 '17 16:09 dynamitechetan

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

goyaljai avatar Sep 28 '17 16:09 goyaljai

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.

joealam avatar Sep 28 '17 17:09 joealam

can we add cocktail sort algorithm??

shivamgor498 avatar Sep 28 '17 18:09 shivamgor498

@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.

AnupKumarPanwar avatar Sep 28 '17 18:09 AnupKumarPanwar

I would like to contribute to this. Thanks!

Vehemos avatar Sep 28 '17 22:09 Vehemos

I would like to contribute by adding Dijsktra Algorithm.

vishvanath45 avatar Sep 29 '17 17:09 vishvanath45

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

shubhammatta avatar Sep 29 '17 18:09 shubhammatta

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!

vibhorgupta-gh avatar Oct 04 '17 13:10 vibhorgupta-gh

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

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

arpanjain97 avatar Oct 12 '17 11:10 arpanjain97

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

nghiaxlee avatar Oct 15 '17 08:10 nghiaxlee

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

rohitchugh9 avatar Oct 28 '17 09:10 rohitchugh9

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

sarcastic-noob avatar Sep 04 '18 19:09 sarcastic-noob

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

rsenwar avatar Oct 16 '18 12:10 rsenwar

I want to add optimal BST in DP category

GOVINDDIXIT avatar Mar 20 '19 10:03 GOVINDDIXIT

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)

anudishjain avatar Sep 30 '19 06:09 anudishjain

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.

shivansh2598 avatar Sep 30 '19 14:09 shivansh2598

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

sankalpchauhan-me avatar Oct 01 '19 10:10 sankalpchauhan-me

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

tanaytoshniwal avatar Oct 01 '19 11:10 tanaytoshniwal