Skip to content
a unit tested solution to a interview question
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

fibonacciUnitTested

By Kyle Turley kyle@kturley.com

a solution to this interview question:

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence up to a given int, find the sum of the even-valued terms. Report calculation time in nanoseconds.​

You can’t perform that action at this time.