Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 10
    \$\begingroup\$ So normal Fibonacci and then reversing the output? \$\endgroup\$ Commented Jul 27, 2017 at 15:12
  • 1
    \$\begingroup\$ Closely related. \$\endgroup\$ Commented Jul 27, 2017 at 15:23
  • 1
    \$\begingroup\$ @AdmBorkBork isn't that the 'inverse Fibonacci function' and not 'return the fibonacci sequence, reversed'? \$\endgroup\$ Commented Jul 27, 2017 at 15:24
  • 1
    \$\begingroup\$ I'd say it's actually the reversed inverse Fibonacci function. (Sort of ...) \$\endgroup\$ Commented Jul 27, 2017 at 15:27
  • 1
    \$\begingroup\$ @Arnauld you have changed the spec to invalidate multiple answers I believe. I'd suggest allowing ...1,0 or ...1,1,0 for any n>0, as that was what was implied by the original spec (see my comment above). \$\endgroup\$ Commented Jul 27, 2017 at 16:46