Well much like most things in life, there is no such thing as concrete answer.
I recently wrote a somewhat lengthy post on the subject, after realising how bad some companies are at this: https://smarketshq.com/notes-on-interviewing-engineers-a4fa4...