fib_memoized.Rd
fib_memoized computes the nth fibonacci number (1-indexed)
fib_memoized
fib_memoized(n, newlist)
an integer
createList(n)
the nth fibonacci number
This function uses memoization and is more efficient than fib
fib
fib_memoized(10,createList(10))[[1]]#> [1] 55