Frankly I think most interview methods are bad and don't provide accurate judgements of competency nor potential. But I would definitely suggest avoiding contrived examples and use real problems facing the business. Beyond that, coding on the spot is a bit wack to me. You can glean much more about a person's skills by talking through the aforementioned problems, that are often more complicated, and/or by having them explain code from their own portfolio or experience.
I don't find either array sum or login form especially contrived. I see why coding on the spot can be suboptimal, but, frankly, most candidates don't have a portfolio. Again, a major part of the form task can be done verbally, and that's the more interesting part.
5
u/[deleted] Apr 07 '23
This is an awful interview template and criterion.