2 ms·
> I wouldn't know how to do fibonacci sequence because I don't know its definition You know you can ask the interviewer about this, right?
by valicord 2y ago
> I wouldn't know how to do fibonacci sequence because I don't know its definition
You know you can ask the interviewer about this, right?
- lucb1e 2y agoYes, and I would because if I don't know then that's my only option (short of sitting there and going "no can do"). However, given their phrasing "basic shit like factorial or fibonacci" I got the vibe this is supposed to be known by the candidate and they'd judge the candidate negatively (before having written a single line) for needing to ask
- valicord 2y agoI'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.
- whstl 2y agoYou are correct. We do give the definition of Fibonacci, and we steer the candidate in the right direction if they make math errors.