Skip to content

Adding memoization for Fibonacci [Question] #162

@hipstermojo

Description

@hipstermojo

I was trying to make a Fibonacci calculator that was to use an Object Literal as a cache for the results but since the TypeScript configuration does not allow the any type, I am unable to define an Object Literal whose keys are any number from 0 to ~200. I wanted to know if there may be a way around this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions