Do you understand that this can be done in *one* *line* *of* *code*?
If someone cannot figure out… in a couple of minutes… in an interview… a programming task that every Comp Sci 101 student is given in their first few weeks of school…
… they are not a “senior developer”. They are not even “a developer”.
This is a task that a ton of non-developers can answer using pseudocode without much effort (and I do ask it be solved in pseudocode if that is easier for the candidate).
It isn’t like I’m asking for an app or “homework”.
My entire technical interview is easily done by people fresh out of college in less than 20 minutes.
That’s not unreasonable.
And yet, dozens and dozens of “senior developers” have failed it.
So yeah, that’s why I screen “senior developers” closely, because many of them are terrible, and the fact that they have kept their jobs for months — never mind years — tells me that their current managers are lousy at managing.
J.Ja