Skip to content

Recursion #2

@midnightriot

Description

@midnightriot

Learn to solve problems using the mind-melting powers of recursion.

Recursive Nesting Dolls

function recursive(n) { if(n <= 2) { return 1; } else { return recursive(n - 1) + recursive(n - 2); } };

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions