5 kyu
Fibonacci Streaming
681 of 2,711Unihedron
Description:
You're going to provide a needy programmer a utility method that generates an infinite amount of sequential fibonacci numbers.
to do this return an IntStream
starting with 1
A fibonacci sequence starts with two 1
s. Every element afterwards is the sum of the two previous elements. See:
1, 1, 2, 3, 5, 8, 13, ..., 89, 144, 233, 377, ...
Algorithms
Similar Kata:
Stats:
Created | May 30, 2015 |
Published | May 30, 2015 |
Warriors Trained | 6627 |
Total Skips | 547 |
Total Code Submissions | 8194 |
Total Times Completed | 2711 |
Java Completions | 681 |
TypeScript Completions | 403 |
Python Completions | 1295 |
JavaScript Completions | 311 |
Rust Completions | 98 |
OCaml Completions | 15 |
Prolog Completions | 8 |
Lua Completions | 14 |
Scala Completions | 11 |
Total Stars | 114 |
% of votes with a positive feedback rating | 90% of 378 |
Total "Very Satisfied" Votes | 319 |
Total "Somewhat Satisfied" Votes | 43 |
Total "Not Satisfied" Votes | 16 |
Total Rank Assessments | 22 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |