+

Cookies on the Business Insider India website

Business Insider India has updated its Privacy and Cookie policy. We use cookies to ensure that we give you the better experience on our website. If you continue without changing your settings, we\'ll assume that you are happy to receive all cookies on the Business Insider India website. However, you can change your cookie setting at any time by clicking on our Cookie Policy at any time. You can also see our Privacy Policy.

Close
HomeQuizzoneWhatsappShare Flash Reads
 

7 tips to ace a final-stage engineering interview at Facebook, from a developer who conducts them

Mar 10, 2016, 22:10 IST

Advertisement
Facebook software engineer Dwayne Reeves has worked on Facebook's internal coding language Hack as well as the company's privacy system.Facebook Engineering

Facebook is one of the most desirable companies for job-seekers

Engineers are attracted to the company because it gives developers a chance to start making an impact on day one.

The company has 13,000 employees across 64 offices, and continues to scale in size and ambition. If you'd like to join Facebook's engineering team, you should start preparing now.

Job applicants will first have a phone interview with a recruiter to assess experience and interest and then have a second phone interview with an engineer that focuses on more technical questions. If those go well, the candidate will be invited to the office they're applying to, where they'll have a tour and then a coding interview.

An engineer will present the applicant with a question and then watch them work it out with a dry erase marker on a white board.

Advertisement

Sound intimidating? Don't worry. Software engineer Dwayne Reeves, who has worked at Facebook for four years and has helped develop its internal Hack language as well as enhance its privacy system, has shared his top tips to ace this final-stage interview in a video.

Here's what you'll need to keep in mind when you go in for your coding interview.

1. Ask questions to clarify the problem.

You will be presented with a scenario, such as that you're working on an auto-correct feature and want to take care of common mistypings of the word "hello." You'll then need to write a function that, given a string, returns all of the nonsense words someone may type.

It's important to realize that the exercise takes place on a white board in front of the interviewer, rather than in front of a computer screen by yourself, because it's meant to be interactive.

"A common mistake people make during technical interviews is thinking that asking questions is bad," Reeves said. "In fact, this couldn't be further from the truth." Scenarios will often be ambiguous, and you're encouraged to clarify as much as possible before you begin.

Advertisement

2. Explain your approach before writing anything.

"Remember to think out loud," Reeves said. "How you arrive at an answer is as important as the final result."

Before you start writing your answer to the problem, explain your approach so your interviewer knows what you're trying to accomplish.

3. Use the programming language you know best.

You'll generally be able to use any language you feel most comfortable in, Reeves said. The interviewer will be focusing on your reasoning abilities and attention to detail.

4. Check your answer with an example before clearing it for approval.

Facebook engineers brainstorm in the company's London office.Facebook

Plug a sample entry into your code and follow it through your commands.

"As long as you find your bug before your interviewer does, you're in good shape," Reeves said.

Advertisement

5. Be ready to explain how your code would function in reality.

If there are no bugs, your interviewer will ask, "How would you go about testing this?"

Reeves said he expects all candidates to undergo edge case analysis, in which they pick extreme cases and see if the code would still work given those circumstances.

6. Propose alternate solutions.

Your interviewer will ask you to analyze your code's time and space complexity, and then ask you to explain its pros and cons, as compared to alternate solutions that exist.

They want to see that you can envision multiple ways to tackle a problem and then decide which you consider best.

7. Ask questions about the company.

Even if you aced the problem, your interviewer will consider it a red flag if you've got nothing else to say. Prepare questions about Facebook's culture, work flow, and mission.

Advertisement

Reeves said that when he's talking to a candidate after they wrap up the coding exercise, he's "looking to see what motivates them and why they are interested in joining Facebook," because the company's hiring philosophy is that talent is a requirement to be considered, but genuine passion for the company is what gets you a job.

Here's Reeves' full video, where he breaks down the example problem in further detail:

NOW WATCH: Facebook is bidding to live stream NFL games

Please enable Javascript to watch this video
You are subscribed to notifications!
Looks like you've blocked notifications!
Next Article