mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-15 05:55:08 +00:00
[PR #516] [CLOSED] + faster Fibonacci number #934
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/516
Author: @kvedala
Created: 3/29/2020
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
959e25cadd commandline option to FibonacciDP.c83bfb72print hashes in HEXfce50a9add commandline option to FibonacciDP.cfba36e3print hashes in HEXbc28239Merge branch 'master' of github.com:kvedala/Cfa73fcb+a much faster fibonacci computation algorithma3b126aupdating DIRECTORY.md0d1eb35add input data as an ASCII text file6fa88februte-force method - O(n^2)6dd8824an optimized solution - O(n) complexity📊 Changes
38 files changed (+2147 additions, -40 deletions)
View changed files
📝
.gitignore(+3 -0)➕
.gitmodules(+3 -0)➕
.travis.yml(+27 -0)➕
CMakeLists.txt(+26 -0)📝
DIRECTORY.md(+34 -0)📝
README.md(+1 -0)➕
conversions/CMakeLists.txt(+16 -0)➕
function_timer(+1 -0)📝
hash/test_program.c(+6 -8)➕
misc/CMakeLists.txt(+16 -0)📝
misc/Fibonacci_DP.c(+8 -3)➕
misc/Fibonacci_fast.c(+76 -0)📝
misc/QUARTILE.c(+29 -27)➕
misc/factorial_fast.c(+67 -0)➕
project_euler/CMakeLists.txt(+26 -0)➕
project_euler/Problem 08/digits.txt(+20 -0)➕
project_euler/Problem 08/sol1.c(+100 -0)➕
project_euler/Problem 08/sol2.c(+119 -0)➕
project_euler/Problem 09/sol1.c(+18 -0)➕
project_euler/Problem 09/sol2.c(+38 -0)...and 18 more files
📄 Description
New
misc/Fibonacci_fast.c: Fast Fibonacci number computation with less memory and processing power using the recursive relations:Updated
misc/Fibonacci_DP.cnow also accepts command-line inputhash/test_program.cnow prints the hash in hexadecimal format🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.