Hacker News new | ask | show | jobs
by valicord 696 days ago
I'd assume that the purpose of a simple question like that is to test basic programming skills (can you write a loop?). Testing knowledge of a specific math concept is doesn't really fit into this goal, so you're unlikely to be penalized for it.
1 comments

You are correct.

We do give the definition of Fibonacci, and we steer the candidate in the right direction if they make math errors.