Typical programming interview questions. 15 years ago
the decisionmaker is not bright but vain. Intelligent would be to test if applicants understand the concept of a function that creates a sequence.
HN user
the decisionmaker is not bright but vain. Intelligent would be to test if applicants understand the concept of a function that creates a sequence.
These sequence questions drive me up the wall. It's so unbelievably stupid that out of the near infinite functions that can produce a given list you should come up with the one the interviewer thought was the "obviously correct" one. The sequence in the example: 1, 11, 21, x ... with the information given then the X=31 is just as valid as anything that the interviewer came up with.
bla bla bla I will write my code how I like, thank you very much ...