Palantir Technologies Interview Question: Generate a fibanocci sequence... | Glassdoor

Interview Question

Business Development Engineer Interview Palo Alto, CA

Generate a fibanocci sequence: dach number is the sum of

  the THREE previous numbers.

Interview Answer

1 Answer


It can be done recursively or iteratively. Iterative approach is more efficient because it avoids repeated calculations when computing successive fibonacci numbers.

Interview Candidate on Mar 18, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.