about | help | code help+videos | done | prefs |
The first two fibonacciWords are "b" and "a." The third fibonacciWord is "ab" which is the concatenation of the two previous fibonacciWords. Each successive fibonacciWord is the concatenation of the previous two. The fibonacciWords are "b", "a", "ab", "aba", "abaab", "abaababa", and so on. fibonacciWord(0) → "b" fibonacciWord(1) → "a" fibonacciWord(2) → "ab" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 290
Copyright Nick Parlante 2017 - privacy