Program to Find GCD or HCF of Two Numbers | The Euclidean Algorithm | GFG | Leetcode
143 بار بازدید -
پارسال
-
In this video we are
In this video we are going to learn HCF/GCD Porgram in c++ using EUCLIDEAN ALGORITHM.
This question is from Geek for Geeks and Leetcode .
In last video i told you the same topic using bruteforce method where time complexity is order of O(min(a,b)).
But using euclidean we can decrease the time complexity to O(log(min(a,b))).
Don't miss this video , learn gcd and hcf program using euclidean algorithm.
YOUR QUERIES/ TAGS USED -
euclidean algorithm example problems
euclidean algorithm gcd
extended euclidean algorithm
gcd of two numbers
euclidean algorithm proof
gcd program in c using recursion
c program to find gcd of two numbers using euclidean algorithm
gcd of two numbers in c
#euclidean #dsa #problemsolving
VISIT THE CHANNEL - VAIBHAV TALKS
IMP C PROGRAMS -
IMP C TOPICS -
C++ PRACTICE PROGRAMS
VS CODE TIPS AND TRICKS
IMP QUESTIONS RELATED TO COMPUTERS
⭐ SOCIAL MEDIA ⭐
• Instagram
Vaibhav Talks-
https://instagram.com/vaibhav_talks_?...
Vaibhav official-
https://instagram.com/vaibhav_officia...
Twitter - https://twitter.com/Vaibhav19326033?t...
Linkdin-
LinkedIn: p-vaibhav-91a4761b8
So hope you liked the video.
Thank you for watching the video, have a nice day 🙌🏻👨💻
This question is from Geek for Geeks and Leetcode .
In last video i told you the same topic using bruteforce method where time complexity is order of O(min(a,b)).
But using euclidean we can decrease the time complexity to O(log(min(a,b))).
Don't miss this video , learn gcd and hcf program using euclidean algorithm.
YOUR QUERIES/ TAGS USED -
euclidean algorithm example problems
euclidean algorithm gcd
extended euclidean algorithm
gcd of two numbers
euclidean algorithm proof
gcd program in c using recursion
c program to find gcd of two numbers using euclidean algorithm
gcd of two numbers in c
#euclidean #dsa #problemsolving
VISIT THE CHANNEL - VAIBHAV TALKS
IMP C PROGRAMS -
IMP C TOPICS -
C++ PRACTICE PROGRAMS
VS CODE TIPS AND TRICKS
IMP QUESTIONS RELATED TO COMPUTERS
⭐ SOCIAL MEDIA ⭐
Vaibhav Talks-
https://instagram.com/vaibhav_talks_?...
Vaibhav official-
https://instagram.com/vaibhav_officia...
Twitter - https://twitter.com/Vaibhav19326033?t...
Linkdin-
LinkedIn: p-vaibhav-91a4761b8
So hope you liked the video.
Thank you for watching the video, have a nice day 🙌🏻👨💻
پارسال
در تاریخ 1402/02/08 منتشر شده
است.
143
بـار بازدید شده