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 1s. Every element afterwards is the sum of the two previous elements. See:

1, 1, 2, 3, 5, 8, 13, ..., 89, 144, 233, 377, ...
Algorithms

Stats:

CreatedMay 30, 2015
PublishedMay 30, 2015
Warriors Trained6627
Total Skips547
Total Code Submissions8194
Total Times Completed2711
Java Completions681
TypeScript Completions403
Python Completions1295
JavaScript Completions311
Rust Completions98
OCaml Completions15
Prolog Completions8
Lua Completions14
Scala Completions11
Total Stars114
% of votes with a positive feedback rating90% of 378
Total "Very Satisfied" Votes319
Total "Somewhat Satisfied" Votes43
Total "Not Satisfied" Votes16
Total Rank Assessments22
Average Assessed Rank
5 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • Unihedron Avatar
  • user5036852 Avatar
  • JohanWiltink Avatar
  • Nightingale Avatar
  • monadius Avatar
  • Awesome A.D. Avatar
  • stellartux Avatar
  • trashy_incel Avatar
  • user8436785 Avatar
  • xenteros Avatar
  • Kacarott Avatar
  • potzko Avatar
  • KayleighWasTaken Avatar
  • metatable Avatar
Ad