Skip to content

Conversation

@chance-nelson
Copy link

This pull request is:

  • A new Algorithm
  • An update to an existing algorithm.
  • An error fix
  • Other (Describe below*)

This pull request fixes:

#23

Changes:

Two new functions have been added, to provide an example of how principles such as memoization can greatly decrease the run time of recursive functions:

  • fibonacci: recursively calculate the fibonacci number at a given index
  • memoize: wrap a general recursive function with a cache of past runs, to reduce possible runtime

@abranhe abranhe added the Documentation needed Documentation is required, so should be added label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation needed Documentation is required, so should be added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants