Really “wow” them in the interview
Let's say I appear for an interview. What questions could I expect and how do I prepare?
Software Engineering Stack Exchange is a question and answer site for professionals, academics, and students working within the systems development life cycle. It only takes a minute to sign up.Sign up to join this community
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.