TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hacking the coding interview

78 pointsby wpnxover 11 years ago

8 comments

jwilliamsover 11 years ago
My tips reflect my attitude more than general advice, but here goes:<p>- Decide what <i>you</i> want out of the interview. How do you decide to work for this company? An interview is a two-way street. Engage with the interviewer, connect with the culture. Push back (a little) on their ideas, see what happens.<p>- I hate puzzles. I think they&#x27;re junk and have never found them to be good predictors (for either party). I usually (1) parlay it into some relevant experience &quot;I encountered something like that when I...&quot; or (2) describe how I&#x27;d solve a problem rather than dig into it [1].<p>- Demonstrate your common sense, flexibility, good social skills. Talk about how you work in a team. Talk about what you do when you encounter a problem you can&#x27;t solve yourself. Talk about any self-lead learning you do. You need to fit in and you need the company to demonstrate they want you to help. Even if the interviewers aren&#x27;t aware of it, more often these form the lasting impression from an interview.<p>[1] Long, long time ago I was asked to produce a &quot;sort&quot; implementation. So I drew a bubble-sort. When one of the interviewers was somewhat outraged by this, my reply was &quot;I didn&#x27;t have any constraints, so I optimized for maintainability.&quot; A bit cheeky perhaps, but worked in the context.
DigitalSeaover 11 years ago
I am completely against written tests or questions that ask abstract questions and ask you to write algorithms. Unless you&#x27;re going for a position that requires a PhD in computer science and your job will be writing algorithms and solving overly complex problems, the pen and whiteboard approach just doesn&#x27;t work in 2013.<p>Hiring a developer shouldn&#x27;t be as complicated as some companies make it out to be. Maybe for the likes of Google it has to be a lot more complex than others because they have an image and large workforce that depends on people being excellent self-managers and workers that require minimal management.<p>For smaller companies you are wasting your time and my time asking me questions that test my ability to remember things more-so than they do to search and find answers. Lets face it, most developers these days are hackers. I&#x27;ve never met a developer who knows the answer to everything, I&#x27;ve seen the best of the best using Stackoverflow to find an answer to their question.<p>The difference between a good developer and a great developer is knowing a little and for the stuff you don&#x27;t know, knowing exactly what to Google when you encounter a problem you can&#x27;t solve off of the top of your head. As Albert Einstein famously said, &quot;Never Memorize What You Can Look Up in a Book&quot; — that doesn&#x27;t mean don&#x27;t learn anything, but get the basics down and eventually you&#x27;ll know what to Google when you don&#x27;t know something.<p>The real test of any developer is if they&#x27;re a good fit for your team, have good work ethic and can get the job done. You can find the smartest developer in the world but they might not be a good fit for your team. Culture matters as does a good work environment with compatible people.<p>The best way to test a developer anywhere in the world is to give them access to a computer, an IDE and their environment of choice. Then ask them to build you something. Don&#x27;t ask them to write binary search code if they&#x27;re being interviewed for a front-end position, ask them to build something.<p>Welcome to your interview; build us a blog, build us a todo app, write a simple Wordpress plugin, write a jQuery plugin or what my current employer did: they brought me in for a trial for a couple of days (paid) and asked me to get my hands dirty on a real project they were currently working on. Just threw me in the deep end and after two days they had a good idea how I worked and if I was a fit.
评论 #6319277 未加载
评论 #6318753 未加载
评论 #6328731 未加载
AznHisokaover 11 years ago
&quot;So you&#x27;re interviewing at Google and lunch time comes around. Food is free so you eat way too much, especially carbs. Your post-lunch interview is a disaster since you have trouble focusing due to lethargy. True story.&quot;<p>Ha... I might have chosen the wrong cafeteria, but to me the food was a disappointment during my Google interview. The veggies were way too hard, I didn&#x27;t like tacos, some of the meat looked indecipherable, and I was fumbling as I wondered whether there was a line, or whether I was looking stupid. I kinda wished there was NO free lunch.
评论 #6318533 未加载
评论 #6318517 未加载
justinsteeleover 11 years ago
The idea of using &quot;B-list&quot; companies makes me a bit disgusted honestly. Have we put ourselves on such pedestals that we use other people&#x27;s valuable time as unknowing practice runs? I would never interview somewhere I was not interested in working.
评论 #6318881 未加载
评论 #6318498 未加载
评论 #6319461 未加载
评论 #6318633 未加载
评论 #6327376 未加载
yanilkrover 11 years ago
The talk about tech interviews reminds me of this clip. <a href="http://www.youtube.com/watch?v=OXRi28W-ENY" rel="nofollow">http:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=OXRi28W-ENY</a>
评论 #6319499 未加载
mountaineerover 11 years ago
There are some good tips and links here, but I don&#x27;t understand the &quot;hacking&quot; metaphor. There are no big secrets. It all comes down to the &quot;always be coding&quot; idea that was presented a few months ago [1]. It just takes discipline and time-management. Succeed at that and many offers will come your way.<p>[1] <a href="https://medium.com/tech-talk/d5f8051afce2" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;tech-talk&#x2F;d5f8051afce2</a>
评论 #6319201 未加载
评论 #6319093 未加载
评论 #6318715 未加载
johnnymonsterover 11 years ago
I really appreciate this article! So many people go to interviews and are obviously unprepared. The simple fact that a person is unprepared for the given task is an obvious show on their personality. This goes for just about anything, not just interviewing. Would you just walk into a test without going to class first? Would you try to fly a plane full of people without first being taught how? So why would you go to an interview without knowing whats expected.<p>- Know that an interview is a 2 way street. Have questions to ask the interviewers, if they ask you silly algorithm questions, have them explain to you how they use those algorithms in the workplace.<p>- Make sure the job your interviewing is a place you can fit into, not just the other way around.<p>- If you don&#x27;t know something they are asking, just be upfront and say you don&#x27;t know it, then ask them what it is and how its used at their company. Take note of this for future interviews.<p>- Don&#x27;t let the interviewer lead the interview the entire time.<p>- For those of you haters that don&#x27;t like the B-list idea, you could ask your peers that work at other places to interview you. (Interesting idea for a startup? Mock interview company? :)
评论 #6326771 未加载
mcvover 11 years ago
I&#x27;ve never actually interviewed at a company that interviewed like this. Is this the usual way in the US?
评论 #6342716 未加载