头条白板面试
by Sun-Li Beatteay
通过孙丽·贝蒂
让我们谈谈白板面试和可能的替代方法 (Let’s talk about whiteboarding interviews and the possible alternatives)
It’s not news to anyone that many engineers hate whiteboard-based interview questions.
对于任何人来说,许多工程师都讨厌基于白板的面试问题,这对任何人来说都不是新闻。
Whether it’s on Twitter, Medium, or LinkedIn, it’s easy to find someone venting. The phrase “the hiring process is broken” is used so often it’s become a cliché.
无论是在Twitter,Medium还是LinkedIn上,都很容易发泄。 经常使用“招聘过程中断”这一短语,这已成为陈词滥调。
Unfortunately, much of this frustration is falling on deaf ears.
不幸的是,许多挫败感落在了耳聋的耳朵上。
Despite the chorus of ire surrounding it, “whiteboarding” is still a staple in software engineering interviews. Part of that is due to the fact that developers are quick to voice their resentment, but slow to offer better alternatives.
尽管周围充满了烦恼,但“白板”仍然是软件工程采访中的主要内容。 部分原因是因为开发人员会很快表达自己的怨恨,但会缓慢地提供更好的选择。
有更好的选择吗? (Are there better alternatives?)
This question has been on my mind a lot recently. Four weeks ago, I landed my first full-time software engineering job. While I’m not involved in the hiring process yet, I will be eventually.
最近我一直在想这个问题。 四周前, 我找到了我的第一份全职软件工程工作 。 虽然我还没有参与招聘过程,但最终我还是会的。
Having been on the other side of the table just a month ago, I understand how imprecise interviewing can be. When it’s my turn to ask the questions, I want to make sure that I evaluate my potential colleagues with accuracy and fairness.
就在一个月前出现在桌子的另一端之后,我了解到面试可能是不精确的。 轮到我问问题时,我要确保我以准确性和公正性评估我的潜在同事。
This predicament has led me to two questions:
这种困境使我想到了两个问题:
Are whiteboarding interviews the best choice?
白板面试是最佳选择吗?
If not, what are the better alternatives?
如果没有,还有什么更好的选择?
In this post, I’m going to attempt to answer these questions. Keep in mind, these are my personal opinions that have been shaped by my own interviewing experience.
在这篇文章中,我将尝试回答这些问题。 请记住,这些是我个人的见解,这些见解是根据我自己的采访经验而定的。
I will try to be as objective as possible by approaching this task in true software engineering fashion: examining all the options and weighing their tradeoffs.
我将以真正的软件工程方式来尝试完成此任务,以使目标尽可能客观:检查所有选项并权衡其权衡。
白板面试最差吗? (Are whiteboarding interviews the worst?)
The first step in this process is to scrutinize whiteboarding.
此过程的第一步是仔细检查白板。
优点: (Pros:)
- Fast and low effort 快速省力
- Not language or domain dependent 与语言或领域无关
- You know (generally) what to expect 你知道(通常)会发生什么
- Community support (Glassdoor, LeetCode, Pramp, and so on) 社区支持(Glassdoor,LeetCode,Pramp等)
缺点: (Cons:)
- Luck is a big factor (algorithm lottery) 运气是一个很大的因素(算法彩票)
- Doesn’t necessarily test engineering aptitude 不一定测试工程能力
- Favors young engineers and recent grads 青睐年轻工程师和应届毕业生
For companies who require engineers to have a strong grasp on CS fundamentals, low level algorithms, and aren’t dependent on libraries, the whiteboarding interview is perfect.
对于需要工程师对CS基础知识,低级算法有较强了解并且不依赖库的公司,白板面试非常适合。
SpaceX, MacOS/Windows, and Facebook’s React were all built by engineers with such knowledge. To get a whiteboarding interview from one of these companies is to be expe