| If you'd like an article giving an explanation for this that doesn't require upgrading to a paid Medium subscription, try this one I wrote a few years ago: https://blog.plan99.net/in-defence-of-the-technical-intervie... It is, natch, hosted on Medium, so you will see a banner, but unlike this paywalled article it's dismissable. Just click the X to make it go away and then you can read the whole thing for free. The summary is that many interviewers ask "unrealistic" algorithmic questions because: 1. They fit in the short amount of time available. 2. They get people writing programs that cover all the basic features of the language. 3. They don't ask people to do excessive amounts of work (e.g. takehome assignments) 4. They wash out people who lack basic skills you'd expect programmers to have, like actually starting a new project and being able to compile/run it in their self-chosen editor. 5. They are general and don't tend to require knowledge of specific frameworks or even specific languages. The questions are unrealistic because they're designed to be fast ways to extract information in an interview setting, not to actually be an accurate sample of the daily work (which in the time available may only cover a fraction of the skills required of a working programmer). |