TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Do you have good tips for tech interviews?

12 点作者 mariedavid将近 4 年前
I am starting the tech team in my company, and I will be leading the tech interviews. I was going for some Leetcode based exercise + some theoretical questions + experience debrief. I was wondering if someone had good tips to share with me? To give you the context: I used to manage larger teams where it mattered less when we made a hiring mistake. Now I am in a start-up, and I am much more worried about the selection process because we are building the team from scratch.

11 条评论

Jugurtha将近 4 年前
Do they respect people notwithstanding their position or their technical ability?<p>There are many candidates who will talk down to people who are not technical. One way to detect that is to either have non technical people during the interview ask questions, or not clearly identify that you are technical if you&#x27;re in a managerial position. Just a human. Does the candidate respect you. Will they explain things to you?<p>This is not frivolous. An engineer, especially in a startup, will have to talk with non-technical people (board, advisors, clients, etc). If they have that &quot;attitude&quot;, you want to know that before you hire them and make your decision accordingly.<p>How do they deal with vulnerability, or being wrong, or someone else being wrong? You can be deliberately wrong about something you <i>really</i> know, and then be wrong about something <i>they</i> really know.<p>Will they go along? Will they correct you and elevate you without having a smug attitude? You want to know that.<p>Again, this is not some &quot;mind kung fu&quot; frivolous thing. Especially in a start-up, people spend a lot of time testing hypotheses, and often being wrong. You don&#x27;t want an asshole there. You also don&#x27;t want someone hiding evidence. If they bullshit you on something you really know because they thought you knew nothing of it, they will do it when you really don&#x27;t know about the thing that was messed up. You&#x27;ll have people during an incident doing everything to cover their ass, instead of actually giving all the information needed to fix the issue and stabilize systems.<p>Even when we hired an accountant, I had a list of questions to elicit these behaviors. In one instance, it became evident that we&#x27;ll have a problem even asking a question to that accountant.<p>We had that with some engineering candidates who had attitudes like &quot;Do I also have to explain this to you?&quot;, or when you claim you don&#x27;t really know a lot about a topic, they see this as an opportunity to bullshit.<p>Besides the ethical considerations of them doing that (or you doing that), it demonstrates low general intelligence to do that in a hiring interview.
评论 #27527435 未加载
vanusa将近 4 年前
<i>I was going for some Leetcode based exercises</i><p>Please, no. These have been widely panned for being (1) not reflective of the kinds of skills &#x2F; decision making need in real, actual, day-to-day work; (2) not even compatible with the everday workflow real, actual programmers use; and (3) in general, are hyper-optimized not to test suitability for actual, real engineering work but for one&#x27;s ability to... &quot;prepare&quot; (that is, cram for) Leetcode sessions.<p>BTW as to (2): We&#x27;re used to coding in the shell and on the file system, right? And with vi or emacs, right? Not in webforms with doc-like editing interfaces - not in a million years, please. Nevermind the (frequently) artificially tricky the problems, and artificially tight (45 minutes or GTFO) the deadlines are.<p>In fairness, maybe things have changed a bit since I began politely declining to do Leetcode-ish filtering sessions - like maybe they have a better in-page editor by now - but the downsides and limitations to this approach are quite fundamental, and I doubt much has changed to change this overall state of affairs.
tootie将近 4 年前
It 1000% depends on what kind of role you&#x27;re hiring for and what your company does. I&#x27;ve never asked nor been asked a leetcode style question. I don&#x27;t think they&#x27;re useful for anyone building webapps or any other sort of line-of-business software. The handful of times I tried ended up being mishires anyway. I&#x27;ve worked at a few places with standard take-home coding assignments, and they were used to whittle candidates, but I&#x27;m not really clear on their value.<p>My tactic for a mid or jr dev is to poke into some specific things in their resume. They say they know JavaScript, then hit them with a bit of JavaScript trivia. Basic stuff that anyone who has worked in the language would answer in 2 seconds. Also some domain stuff, like if this is a web dev, then have them explain CORS or HTTPS. Then have them talk in detail about a specific project or two. Try to get them to articulate not just what the code does, but why that direction was chosen. Have them explain their role and the other roles and the project team to show they understand teamwork. Ask them how the estimate work. Try to elicit an opinion (PHP or Python, strict or loose typing, AWS or GCP) not to question their thinking, but rather to see that they can make qualitative arguments.
评论 #27460309 未加载
评论 #27461864 未加载
KnowUrFacts将近 4 年前
Honestly, one of my favorite questions I used to ask was, &quot;what is not on your resume&#x2F;CV, which you want to highlight&quot;? Always had interesting response, threw the person off and provided good insight into character, experience and sometimes side projects the candidate did not feel like highlighting in the application
评论 #27470194 未加载
d--b将近 4 年前
I have worked at a small company where they would have candidates interview with almost everybody in the firm. I think that worked very well overall.<p>As a dev, I met with the dev team first, then with the business team, then with the operations team, then with the senior execs. Because I wasn’t in the same city, they had me interview remote first, and then on-site. Overall I think I met with 18 people.<p>Having that many people involved means that you will most certainly find out if the person is culturally suited to work in your startup. This is what matters for a small company. You really want to avoid the guys with bad attitude or culture mismatch.
m33k44将近 4 年前
&gt; I was going for some Leetcode based exercise<p>Oh no! Please! It helps neither the candidate nor the company. Will any of the leetcode exercises map to the job the candidate will be interviewing for?<p>My preferred way is this:<p>1. Introducing the candidate to all the team members with whom the candidate is going to work, if selected.<p>2. Pair programming with few of them on actual task or some similar task.<p>3. Solo programming on a problem that somewhat maps to one of the tasks the team is working on.<p>4. Asking the candidate to present the solution to the team on the whiteboard and candidate taking questions from them on the presented solution.<p>5. Vote from the team members on hire&#x2F;no-hire decision.
评论 #27473494 未加载
评论 #27492000 未加载
评论 #27470488 未加载
mrfusion将近 4 年前
I’d focus on their past experience. Maybe ask about a challenging project and the decisions they made. (Then follow up and ask a reference about the project. Make sure both descriptions match up. Let the interviewee know you’ll be doing this obviously)<p>Look at any github code. Or give them a short homework assignment. (Less than one hour) and then talk over their decisions.<p>Bonus points if you give them problems they’ll actually work on at the job.
mrfusion将近 4 年前
Please no leetcode or obscure data structures questions unless you’re interviewing for a computer science research position.
tkiolp4将近 4 年前
Don’t rely on leetcode and friends.
toast0将近 4 年前
If you&#x27;re going to do a coding interview, the question should actually be pretty simple. No tricky things, no can really only do it if they learned about it once, something anyone who can program can do.<p>I do a problem with a defined example input, and a general idea of the transformation to be done with it, but allocate the first 15 minutes to the candidate picking the output format, and refining it. You could do a very simple output format with a potentially large worse case space usage, or you could make the output format more complex and get better space usage; anyway, as long as they&#x27;ve got <i>something</i>, after 15 minutes we can move on, and if they&#x27;re not going anywhere, I can hint them to the simple solution and maybe they can refine it a bit, or at least discuss the problem.<p>Once that&#x27;s done, there&#x27;s two 15-minuteish coding exercises, and the key thing I&#x27;m looking for is that they can use the format they just created. Language doesn&#x27;t matter, but the code should be self-consistent; also I give utility functions for I&#x2F;O, so nobody has to remember the standard library I&#x2F;O. Over time, I&#x27;ve learned to do the easier of the two exercises first, so most people can finish at least that one, if it&#x27;s not in the target time. Also, I&#x27;ve learned that I can&#x27;t expect any knowledge of bytewise I&#x2F;O; some candidates just don&#x27;t know what a byte is, so you have to explain it, sometimes a couple times, but many of those candidates end up doing pretty well, it just wasn&#x27;t something that was ever previously important.<p>Having done the same problem over years with lots of candidates, I feel pretty well calibrated to figure out slow but good vs can&#x27;t code at all vs having a bad day vs won&#x27;t follow their own format. If someone is having a bad day, and you can tell early enough, the best thing is to try to make things go well as much as possible during your interview; if they&#x27;re having a bad day, you won&#x27;t get a conclusive evaluation, but if you can turn the day around a little bit, maybe they&#x27;ll feel better and relax somewhat and the rest of the interviewers can get a more clear picture.<p>All this aside, if you really want the best people, you probably want to hire from your network, and then the interview becomes less evaluating the candidate, and more selling the candidate. Maybe ask them about real problems you&#x27;re having, and see what they think and also if they&#x27;re excited about solving your problems. It&#x27;s less repeatable --- you want to ask about current or recent problems, which means candidates don&#x27;t get the same questions.<p>You might object to me always asking candidates the same problem then, and it&#x27;s true it&#x27;s not an active problem, and it&#x27;s also an area where 99% of things just use a library because it&#x27;s complex, but it&#x27;s a concept that has broad applicability, and I use a very simple form that fits in an interview, and most candidates haven&#x27;t written anything like it before, which gives it a freshness.
sloaken将近 4 年前
Basics, these should be obvious, but ...<p>1) anyone who will work with the person should be a part of the interview process.<p>2) everyone in the interview process must have a copy of the candidates resume<p>3) everyone in the interview process must have READ the resume<p>4) foreach, pre-written question, you should have a list of expected answers and what you would score them.<p>Typical interview consists of 3 question categories, with a forth being money which is a trump issue in most cases (if too expensive then cannot afford them, therefore a no).<p>Write your questions to support giving a score in each of these categories: Can they do the job, Can they get along, Will they do the job.<p>Can they do the job is answered by their technical skills as listed in the resume. These skills you need to validate in the interview. I typically ask them to explain what they did &#x2F; what was their role in a recent project. Expanded with what challenges did you encounter, how did you overcome them. Based on the level of detail, I know if they did it or attended meetings where it was discussed (surprising how often people list meeting attendance as skills).<p>Communication can fall under the topic of &#x27;can you do the job&#x27; as well as &#x27;can you get along&#x27;. During the interview, I will ask technical questions where I expect the person to know the answers, and I am just looking for a yes &#x2F; no. Then I hit them with my zinger, &#x27;Whats the difference between A and B&#x27; (with both of the A and B being things they said they knew). In the old days it was typically the difference between a B Tree, and a Binary Tree. No one remembers the difference, not even me, not even after reading it, but I know they are different. The scoring on this is: -10 for a BS answer (I write what they say down, because I need to validate it), 5 for &#x27;I do not know&#x27; or the correct answer, 8 for &#x27;I do not know, but I know where to find the answer&#x27;, 10 for &#x27;I do not know, but I know where to find the answer&#x27; and they include the answer in the thank you note (I hate the thank you note, but it does provide value).<p>Can you get along - that is various people interacting. IMHO 10% of the people in the world do not like you for no good reason. You dislike 10% of the people in the world for no good reason. (hopefully those 10% are the same). That said, you have to gauge how tightly they need to interact with someone as to how valuable their opinion about being able to work with them is. I like the other comment about see how they interact with people who are completely non important. Consistent behavior is a good thing.<p>Will you do the job - This gets down to why they want the job, besides the cash. Everyone wants money, what you need to determine, if you hire this person for x dollars a year, will they leave to a competitor for x + y dollars. (where y is 10% of x or less).<p>You must take notes during the process. After the interview score them. Have everyone score them. A common tactic is to try to be the first or the last to interview because people favor them. If you score immediately then you quantify your choice, and not a whimsical decision.