DS-Algo-Zone icon indicating copy to clipboard operation
DS-Algo-Zone copied to clipboard

Euclid Algorithm for GCD (Greatest common divisor)

Open Ashutoshpandey-coder opened this issue 3 years ago • 13 comments

🚀 Feature

(Write down a clear and concise description of what the feature is.)

Have you read the Contribution Guidelines?

(Write your answer here.) Yes , I read all the guidlines .

Pitch

(Please explain why this feature should be implemented and how it would be used.) It is the best way of finding the Greatest Common Divisor . Euclid Algo -> According to this algorithm if b is smaller than a. gcd(a,b) = gcd(a-b, b) Let g be GCD of a and b a = gx , b = gy and GCD(x,y) = 1 (a-b) = g(x-y)

Assignees

(Do not make changes in this section until asked to do so)
C - @Ashutoshpandey-coder C# -
C++ - @tm2k23 Go -
Java - @Ashutoshpandey-coder Javascript -
Kotlin -
Python - @Noxbolt

Ashutoshpandey-coder avatar Oct 01 '21 19:10 Ashutoshpandey-coder

Which language do you want to work on @Ashutoshpandey-coder ?

manan025 avatar Oct 01 '21 19:10 manan025

Which language do you want to work on @Ashutoshpandey-coder ?

in java language or if you want anyother I can also do it , familiar with c , cpp .

Ashutoshpandey-coder avatar Oct 01 '21 20:10 Ashutoshpandey-coder

@Ashutoshpandey-coder - Java assigned (If you want to work in any other language, you can ask here after you complete it in java)

manan025 avatar Oct 01 '21 20:10 manan025

@Ashutoshpandey-coder - Java assigned (If you want to work in any other language, you can ask here after you complete it in java)

okay sure

Ashutoshpandey-coder avatar Oct 01 '21 20:10 Ashutoshpandey-coder

@manan025 add me for c++

tm2k23 avatar Oct 01 '21 21:10 tm2k23

@tm2k23 - C++ assigned

manan025 avatar Oct 02 '21 05:10 manan025

@Ashutoshpandey-coder - Java assigned (If you want to work in any other language, you can ask here after you complete it in java)

okay sure

I would like to do in C also. Could you assign me?

Ashutoshpandey-coder avatar Oct 02 '21 07:10 Ashutoshpandey-coder

@Ashutoshpandey-coder - C assigned

manan025 avatar Oct 02 '21 07:10 manan025

I can contribute in python

tarunkrjaiswal avatar Oct 02 '21 12:10 tarunkrjaiswal

I can contribute in python @manan025

SOURHEAD avatar Oct 02 '21 17:10 SOURHEAD

@Noxbolt - Python assigned

manan025 avatar Oct 02 '21 20:10 manan025

@SOURHEAD He asked first so it will be assigned to him.

manan025 avatar Oct 02 '21 20:10 manan025

I'll try my hand at go if possible

lucblassel avatar Oct 03 '21 17:10 lucblassel