I think we completely agree.
I was specifically responding to this from the parent comment:
> What alternative? Talking to people, presenting them with company problems, and listening to their opinion about them, aka. "how would you do X if you had Y?" kinda questions?
Which I understood to mean that no actual coding would be done, it would be more of an open-ended interview about work history / etc. Which I would argue is far worse than Leetcode style questions.
And I'm also arguing for the idea that the fairest interview is the one that gives the most accurate answer to "will this person be a good developer for the company".
But of course if there's something that's even better than Leetcode, obviously companies should want to adopt that instead.
At our company, we do something very close to what you propose:
- an initial phone screen with a very simple "Fizzbuzz" style programming filter.
- After that, an open-ended architecture problem (how would you build such-and-such system), which can go in many different directions, and can include a few specific coding examples.
- Finally, a real programming task for ~1-2 hours. Sit down in front of a computer with access to internet etc, and do these tasks.
We find that these in combination give a great answer to all our questions (well, the "ability" portion at least, which has the most weight.)