https://github.com/jonathanyiv/fibonacci
Implementation of the Fibonacci Sequence
https://github.com/jonathanyiv/fibonacci
fibonacci-sequence ruby
Last synced: 4 months ago
JSON representation
Implementation of the Fibonacci Sequence
- Host: GitHub
- URL: https://github.com/jonathanyiv/fibonacci
- Owner: JonathanYiv
- Created: 2017-08-19T05:02:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-19T05:23:50.000Z (over 8 years ago)
- Last Synced: 2025-02-26T05:33:24.774Z (10 months ago)
- Topics: fibonacci-sequence, ruby
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fibonacci Sequence Project
This is my version of implementing the [fibonacci sequence](https://en.wikipedia.org/wiki/Fibonacci_number) both recursively and non-recursively in ruby.
This is a project from [The Odin Project](https://www.theodinproject.com/courses/ruby-programming/lessons/recursion).

## Installation
Open your Terminal/Command Line. Navigate to the directory where your version will live. Type in the following:
```
$ git clone https://github.com/JonathanYiv/fibonacci.git
$ cd fibonacci
$ ruby fibonacci.rb
```
## Pre-Project Thoughts
This should be relatively easy -- I had just completed [Code Quizzes: Beginner Recursion](http://www.codequizzes.com/computer-science/beginner/recursion) where they had me implement the fibonacci sequence partially.
## Post-Project Thoughts
The project was completed in about 5 minutes.
I looked at other student's solutions and noticed a select few were able to condense the recursive function into one line.
I have taken notes on their strategems for future usage.