Skip to content
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

UPDATED THE GCD FUNCTION AND MADE IT MORE EFFICIENT#146

Open
DEVIL-NEEL wants to merge 1 commit into
AllAlgorithms:masterfrom
DEVIL-NEEL:master
Open

UPDATED THE GCD FUNCTION AND MADE IT MORE EFFICIENT#146
DEVIL-NEEL wants to merge 1 commit into
AllAlgorithms:masterfrom
DEVIL-NEEL:master

Conversation

@DEVIL-NEEL

@DEVIL-NEEL DEVIL-NEEL commented Oct 21, 2022

Copy link
Copy Markdown

I am creating a pull request for...

  • New algorithm (EUCLIDEAN ALGORITHM which is more efficient)
  • Fix an error about the printing of gcd because the function returns the gcd value and it needs to be stored in a variable before printing the value

@AvinashYerra AvinashYerra left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider the case where y>x ;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants