mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-04-21 12:59:35 +00:00
[PR #1035] [CLOSED] efficient solution for GCD question #1580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1035
Author: @aka-0803
Created: 10/12/2022
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
2732cd5efficient solution for GCD question📊 Changes
1 file changed (+44 additions, -0 deletions)
View changed files
➕
misc/gcd.cpp(+44 -0)📄 Description
->used Euclidean algorithm
->Time Complexity: O(min(a,b))
->Auxiliary Space: O(min(a,b))
-> more about Euclidean algorithm
->clean code
Description of Change
References
Checklist
Notes:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.