katiaku / katiaku/javascript-algorithms-and-data-structures

Add Euclidean Algorithm for GCD

Aperta
#29 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
JavaScript
Stelle
3
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Create euclidean.js file in Math_Algorithms directory.

Describe Euclidean Algorithm. This algorithm repeatedly replaces the larger number by its remainder when divided by the smaller number until the remainder is zero.

Implement the Euclidean Algorithm to find the greatest common divisor (GCD) of two numbers.

Provide a detailed explanation of the algorithm and its time complexity.

Add the algorithm to the corresponding section in the README.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.