Skip to content

Orejano/Algorithms

Repository files navigation

Algorithms

Several Algorithm Routines (Mostly in C++11)

fibonacci.cpp --> A Naive and an efficient solution to compute Fibonacci numbers

fibonacci_huge.cpp --> Find the the Nth Fibonacci number Modulo m

fibonacci_last_digit.cpp --> Find the last digit of the Nth Fibonacci number

fibonacci_partial_sum.cpp -->Find the last digit of a partial sum of Fibonacci numbers

fibonacci_sum_last_digit.cpp --> Find the last digit of a sum of Fibonacci numbers

gcd.cpp --> Find the greatest common divisor of two numbers

lcm.cpp --> Fin the least common multiple of two numbers

About

Several Algorithm Routines (Mostly in C++11)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages