The twenty-four hours before your onsite are about finding ways to maximize your performance. Ideally, you wanna be having one of those days, where elegant code flows effortlessly from your fingertips, and bugs dare not speak your name for fear you'll squash them.
You need to get your mind and body in The Zone™ before you interview, and we've got some simple suggestions to help.
Don't study all night—sleep!
Interviewing sleep deprived could be worse than getting drunk beforehand. Make it your mission to get a full night of sleep, because you want all the brain power you can get.
In fact, try to get two nights of good sleep before interviewing, since sleep debt lasts a few days.
As soon as the sun goes down, put down the practice problems and focus on relaxing. If sleeping isn't your strongest skill, try these sleepytime guidelines:
- Exercise lightly earlier in the day.
- Don't drink caffeine in the afternoon, and don't drink alcohol at all.
- Avoid bright screens in the evening. Dim your screen once the sun sets.
- Eat a light dinner, ideally one with noggin-friendly foods, like salmon, beans, and vegetables.
- Before bed, turn on a boring podcast, listen to some calming music, or read a book.
The most important thing is to not stay up late practicing new or difficult problems. That'll only put your brain on a train to Los Anxiousness. Instead, you should…
Practice stuff you rock at
To cultivate your confidence, practice questions that you can already solve handily. Sure, feel free to start the day with a new problem, but by the afternoon you should be building momentum with the questions you know best.
Giving yourself a few wins like this helps your brain simulate a stellar session at the whiteboard. You'll go to sleep dreaming of data structures, and you'll wake up with a self-esteem stimulus that makes you stand out in your interview.
Imagine your best day
Picture the ideal version of your day. It's a positive visualization exercise. This might sound like some hippie shit, but it's something athletes and entrepreneurs do all the time.
Check out our guided meditation that helps you visualize yourself breezing through a full day of onsite interviews. It takes about 12 minutes, and it goes a long way.
If guided meditations aren't your thing, you can do it yourself. Grab a piece of paper and write out everything that'll happen during a successful day of interviews. Here's some inspiration to get you started:
- Greet your interviewer(s). Play through some small talk. Maybe you make a little joke they find funny.
- Crush your first question. The first question comes your way, and you write out the answer deftly. Your interviewer's face looks impressed.
- Overcome a tough question. You get to a trickier part of a problem. You feel some adrenaline, but you keep calm. You ask a few clarifying questions and carry on to a solution.
- End the day on a high note. Your last interview of the day involves talking to a director or VP, and the conversation is lively. You leave the building smiling and feeling great about the whole experience.
Visualizing a successful day will build your confidence. You're training your brain to expect success and feel more comfortable during your interview.
Walk through your problem solving process
Reinforcing problem-solving patterns goes a longer way than practicing new problems in the hours leading up to your interview. Notice how our coding interview tips article gives you a handy process for solving algorithmic problems:
- Brainstorm an algorithm. Draw out sample inputs and play around with them while talking and thinking out loud. Don't start writing code until you and your interviewer feel good about your algorithm.
- Barf out your algorithm in code. Focus on getting it all down first, and jot down notes next to the things you wanna go back and double-check later.
- Debug your code. Walk through your code with sample input, look for off-by-one-errors and other bugs.
This high-level, “What's my problem solving process” is great to keep thinking about the morning of your interview. And speaking of that morning…
Precompute your morning
Decision fatigue is real. It's why successful people like Mark Zuckerberg and Barack Obama always wear the same thing—to minimize the number of decisions they make each morning. Luckily, it's easy to avoid decision fatigue once you're aware of it!
Plan the boring stuff ahead of time. Here are a few suggestions to get you started:
- Pack your bag. Include a snack and water bottle.
- Lay out some nice clothes. Dress a tiny step above what others in the office are wearing (usually they'll be sporting jeans and a t-shirt).
- Plan your breakfast. For your brain's sake, try to include eggs, berries, and avocado.
- Choose your route to the office. Expect traffic. Scope out the parking situation if you're driving.
- Tarantino your morning. Work backwards from about 30 minutes before your interview, and figure out what time you need to wake up.
- Set an alarm (or ten). Remember that you want time in the morning to chill, eat a leisurely breakfast, and sip on a cup of coffee (if that's your cup of… tea).
- Brainstorm a pump-up routine. Come up with a few things to get you stoked. If you're not sure what your morning pump-up routine looks like, we've got you covered…
The morning of your interview, you wanna get energized! The right pump-up routine should make you excited, confident, and ready to tackle your interview head-on.
Get your body moving. Do sun salutations and a few jumping jacks. Light exercise increases the blood flow to your brain and helps clear your mind.
Power pose and read your positive visualization. It might feel strange at first, but it works! You'll prime yourself to feel more confident heading into your interview.
Listen to pump-up music. If you're like me, the intro to Backstreet's Back should do the trick. If you're not like me (i.e., you're unwilling to admit you like the Backstreet Boys), you probably have an equally awesome song in mind.
Here are some inspirational 90s jams, just in case you need them:
Looking for more coding interview advice?
Check out our free 7-day email crash course on coding interview strategies. We talk about the key algorithmic patterns you can use to easily break down tricky technical interview questions.
No spam, ever. Easy unsubscribe.
Cool, watch your inbox!