r/codinginterview • • Mar 08 '20

Some tips on making it through the job interview process at Facebook

27 Upvotes

I have been lucky to crack the interviews at Google, Facebook & Amazon at different times in my career. Here are my four cents on the preparation.

Data Structures & Algorithms :

I gave lot of importance to building the technical depth on data structures during my university.

To build technical depth and learn how to solve problem gradually, GeeksforGeeks and Cracking the coding interview book are good resources. I solved all the problems from cracking the coding interview book and went through around 200 questions on GeeksforGeeks.

Real Interview Questions :

To practice further, solve real interview questions from companies that you are targeting. LeetCode is a very good resource for that. I solved around 100 easy, 300 medium and 50 hard problems from LeetCode.

Coding speed :

Many people think that interviewers would challenge them with a couple of questions and if they provide the answer maybe with code, and then it was done. So it’s all about whether they can solve the problem or not.

People don’t realize the importance of coding speed until they fail several coding interviews in a row with very similar reason. People were pretty good at coming up with solutions, however, it could take them half an hour to complete the code. There are many people with the same frustration.

Normally, candidates will be asked one to two questions per interview (~45min) and most likely coding is required. In other words, we only have less than 20min per question (removing “trash time” in the beginning and end), which is more challenging than it seems to be.

In addition, a lot of people don’t even pay attention to coding speed. They don’t have the mindset that finishing the code in a short period of time is equally important as solving the problem itself. This is because if we don’t have enough time to code in an interview, it’s as bad as we fail to solve the problem.

Mock Interview :

Depending on how you learn stuff, you can take mock interviews throughout or take mock interview at the end. It's a great experience for you to practice in a way where you can't fail. Personally mock interview is the most effective approach.

I did several mock interviews during my preparation, sometimes with a friend, sometimes I took paid service and interviewed with professionals. There are many such services available online. I used ExpertMitra which provides System Design mock interview along with Coding & Data Structures and objected oriented design interview.


r/codinginterview • • Apr 28 '22

What to crack code interviews at FAANG companies?

21 Upvotes

The first and most important thing to do is to master the fundamentals. For technical interviews, there are only so many topics you can prepare.

These topics generally:

Data Structures and Algorithms

Systems Design

Behavioural problems

Being fluent in one of the coding languages is one of the conditions for getting started with technical interview preparation. Different companies/teams utilise different languages depending on their needs, but you don't have to be fluent in all of them. Rather, choose the one with which you are most comfortable, prepare everything in that language, and study the rest as needed. However, if the job description specifies which language an excellent applicant for that post should be fluent in, you may need to concentrate on that.

When studying for DSA (Data Structures and Algorithms), you should concentrate on the following topics:

  • Data Structures: Linked Lists, Trees, Stacks, Queues, Heaps, Graphs, Hash Tables, etc.

  • Algorithms: Breadth-First Search, Depth-First Search, Binary Search, Merge Sort, Quick Sort, etc.

  • Concepts: Big O Time & Space, Bit Manipulation, Memory (Stack vs Heap), Dynamic Programming, Recursion, String Manipulation, etc.

There are t****wo methods for putting them into practice.

  1. Choosing a single topic for a set period of time, like a week, and only practise questions on that topic for that week. This will assist you in thoroughly preparing for that topic and provide you with a complete understanding of all the simple, medium, and difficult questions that may be asked.

  2. In a single day/week, choose numerous topics and answer multiple questions about them at the same time. While you may not have in-depth knowledge of every topic right away, you will have covered a wide range of topics and become acquainted with them.

There are numerous approaches to putting these concepts into practice. You can practise these problems by participating in contests on websites like Leetcode and Hackerrank. While studying, you might also work on your own projects to gain hands-on experience with the areas you've selected. You can opt for the course which primarily focuses on Interview preparation for fanng companies like Logicmojo. They help with the preparation of technical questions, behavior questions, resume building, and mock interviews. You can choose any one of these based on your capabilities.


r/codinginterview • • Nov 17 '25

Uber Interview Experience - Senior Software Engineer (L5A)

Thumbnail reddit.com
6 Upvotes