5 kyu
One-Semicolon Fibonacci Stream
Description:
Write a function stream(int a, int b) -> IntStream
that produces the Fibonacci sequence where the first two elements are a
and b
. Here's the catch: you only get one semicolon!
Good luck!
Algorithms
Streams
Puzzles
Similar Kata:
Stats:
Created | Oct 17, 2017 |
Published | Oct 17, 2017 |
Warriors Trained | 587 |
Total Skips | 55 |
Total Code Submissions | 949 |
Total Times Completed | 156 |
Java Completions | 156 |
Total Stars | 11 |
% of votes with a positive feedback rating | 86% of 33 |
Total "Very Satisfied" Votes | 26 |
Total "Somewhat Satisfied" Votes | 5 |
Total "Not Satisfied" Votes | 2 |
Total Rank Assessments | 4 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 6 kyu |