Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Really “wow” them in the interview

Let's say I appear for an interview. What questions could I expect and how do I prepare?


locked by Thomas Owens Jun 7 '15 at 0:12

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by Thomas Owens Jun 7 '15 at 0:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking career or education advice are off topic on Programmers. They are only meaningful to the asker and do not generate lasting value for the broader programming community. Furthermore, in most cases, any answer is going to be a subjective opinion that may not take into account all the nuances of a (your) particular circumstance." – Thomas Owens
If this question can be reworded to fit the rules in the help center, please edit the question.

Keep in mind that this question can be very different for different positions. A low level assembly programmer versus a java or web programmer. – Chris Sep 9 '10 at 17:20
up vote 14 down vote accepted

Programming Interviews Exposed is also helpful.

This classic book uncovers what interviews are really like at America's top software and computer companies and provides you with the tools to succeed in any situation. The authors take you step-by-step through new problems and complex brainteasers they were asked during recent technical interviews.

50 interview scenarios are presented along with in-depth analysis of the possible solutions. The problem-solving process is clearly illustrated so you'll be able to easily apply what you've learned during crunch time. You'll also find expert tips on what questions to ask, how to approach a problem, and how to recover if you become stuck.

I've used it in preparing for my last round of interviews and while I didn't end up needing it, reading through it certainly made me feel more confident and prepared. The book also has a section on non-programming questions such as salary negotiation, which I found very helpful.


Michael Pryor has a site dedicated to technical interview questions.

A good interview though will contain a lot of questions about the technology they are hiring for. And you will probably also need to write code. Unfortunately there is no shortcut for this, only experience will help you here. This link also details a list of Programming Puzzles.

For the prior (or should I say pryor) you prepare by working through the questions and getting good at those types of questions. For the later you should be preparing your whole career.


In my experience, the best way to prepare is not to do much beyond relaxing, and (as tia says) reading up on the team. You know what you know, and you're only as smart/experienced as you are right now, and no amount of last minute prep will enhance that.

Expect them to ask you to write code for a simple but tricky problem. By virtue, the question shouldn't take a lot of code, so if you find yourself thinking or writing a long program, you're probably not on the right track. Do explain your thinking as you go. Some interviewers might ding you on not finding the right solution, but spot things they like about you as you explain.

Sometimes, they will give you a non-programming puzzle. In my experience, if they ask you one you already know, just be honest and tell them you know it and move onto the next question. Again, honesty is one of the top things people appreciate, and they can spot prior knowledge from a mile away anyways.

Most of all, get good sleep, relax, and try to be in a good mood.

From a community perspective: Can you please embed some text in your post, if those links become inaccessible in the future your links will tend to get useless... – Tom Wijsman Sep 9 '10 at 17:29
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Adam Lear May 13 '11 at 21:40

Prepare everything else. Company's profile. Why you like the company. etc.

If you already have an appointment for interview, I think it is too late to prepare for technical knowledge. Good interviewer will be able to spot that your answers come from experience or not.


Not the answer you're looking for? Browse other questions tagged or ask your own question.