Member-only story

How to Crack The FAANG Coding Interview without Leet-Coding (too much)

Trần Thiện Khiêm
5 min readJul 12, 2021

Last year I failed the driving test 7 times, this year I did not only pass the driving test but I also nailed 3 interviews and get offers from Facebook, Apple and Microsoft. While I’m still excited about this, I take this chance to share my experience with others so that you can perform the best in your coding interviews.

So my goal of this article is guiding you guys through an example of a coding interview question and then explain my techniques how you can show your best during the interview, without, practicing a lot on leet code. I don’t mean that you don’t need to practice leet code at all, practicing leet-coding helps you be familiar with solving interview questions. But it is not necessary to solve 200+ leet code questions before the interview like many people have told me. You may not have enough time and motivation to do that, and you may miss your opportunity to do the interviews.

Instead, I want you to use your natural problem solving skills, and you can also apply those tips back to your daily work at your company.

The problem

Your interviewer arrived and after you guys introduced yourself, he started the coding interview by presenting following coding question.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Trần Thiện Khiêm
Trần Thiện Khiêm

Written by Trần Thiện Khiêm

Software Engineer at Facebook — a coder, a dreamer and a Dota 2 Herald.

Responses (2)

Write a response

sort it in the reverse order

No need of sorting ..place in reverse order

17

Which country do you live in?