Airbnb interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Airbnb
upvote
share-icon
7 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Journey
I have prepared for a month. I have solved around 50-60 leetcode problems for DSA rounds. Also, for system design rounds, I've read Alex Xu's book on System Design Interviews.
Application story
Applied through linkedIn, then the recruiter contacted me after a week or so. And then we discussed the role and responsibilities. And then interview process started with an online assessment.
Why selected/rejected for the role?
I'm selected because I performed well in all the technical rounds. Able to solve most of the problems and also communication played a big role in my selection. But, I'm still waiting for the team match.
Preparation
Duration: 2 months
Topics: Data Structure, Algorithms, High-Level Design, Projects I worked on, Microservices, REST
Tip
Tip

Tip 1 : Good hold on DSA, you need to solve medium-hard level leetcode ques in 40 mins.
Tip 2 : Practice building a good high-level design like db schema, and endpoints and address other challenges like fault tolerance
Tip 3 : Prepared for cultural fit with behavioral aspects of your work

Application process
Where: Linkedin
Eligibility: no
Resume Tip
Resume tip

Tip 1: Good experience in High-Level Design
Tip 2: Good experience in Low-Level Design

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 mins
Interview date9 Nov 2022
Coding problem2

I have been given a week's time to complete the online assessment. It consists of 2 coding problems of medium level.

1. Valid Pallindrome ll

Easy
0/40
Asked in companies
AmazonFacebookGoogle

Ninja’s friend challenged him with a trick question. He gave him a string ‘S’ and asked him if it is possible to make this string palindrome by deleting one character from the string. Can you help the ninja to solve this problem?

You are given a string ‘S’ of size ‘N’.You have to determine whether it is possible to make the string palindrome by deleting at most one character.

For Example
If the string is ‘AZBCDCBA’, the answer will be YES as we can delete the character ‘Z’ and the remaining string is a palindrome. 
Problem approach

After converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, I iterate through the string and am able to check if it's a valid palindrome or not.

Try solving now

2. Palindrome Pairs

Moderate
25m average time
75% success
0/80
Asked in companies
FacebookAmazonCIS - Cyber Infrastructure

You are given a list of ‘N’ words ‘WORDS’. Your task is to return all pairs of the distinct indices (i, j) in ‘WORDS’, such that the concatenation of WORDS[i] and WORDS[j] is a palindrome.

For Example:

You are given ‘WORDS’ = [“cat”, “mat”, “tac”]. Then the answer will be [(0, 2), (2, 0)}, because “cat” + “tac” = “cattac” which is a palindrome and “tac” + “cat” = “taccat” which is also a palindrome.
Problem approach

I've solved using a trie.

Try solving now
02
Round
Medium
Video Call
Duration45 mins
Interview date15 Nov 2022
Coding problem1

It's a 45 min round. Started with 2 minutes introduction and I have 40 minutes of time to solve a problem. Basically, the problem consists of 2 parts and I need to solve both of them. And is on a hacker-rank platform, so the expectation is it will pass all the test cases given by the interviewer.

1. Trapping Rain Water

Moderate
15m average time
80% success
0/80
Asked in companies
OYOSalesforceAccenture

You have been given a long type array/list 'arr’ of size 'n’.


It represents an elevation map wherein 'arr[i]’ denotes the elevation of the 'ith' bar.



Note :
The width of each bar is the same and is equal to 1.
Example:
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].

Output: 10

Explanation: Refer to the image for better comprehension:

Alt Text

Note :
You don't need to print anything. It has already been taken care of. Just implement the given function.
Problem approach

Step 1: I explained the approach to the interviewer and solved the first part by simply traversing the input array and based on the element value, added the +, and print them. The interviewer asked me to run the test cases given. 
Step: 2 After the first part, the interviewer comes up with a follow-up or the second part of the problem.
Step: 3 I explained to him, we can solve the problem by checking three cases i.e. left part / right part or at the current index if the water doesn't flow. He looks satisfied and then I coded it.

Try solving now
03
Round
Hard
Video Call
Duration45 mins
Interview date19 Nov 2022
Coding problem1

It's a 45 min round. Started with 2 minutes introduction and I have 40 minutes of time to solve a problem. Basically, only 1 problem and I need to solve both of them. And is on a hacker-rank platform, so the expectation is it will pass all the test cases given by the interviewer.

1. Sudoku Solver

Hard
25m average time
75% success
0/120
Asked in companies
Info Edge India (Naukri.com)GoogleOla

You have been given a 9x9 2d integer matrix 'MAT' representing a Sudoku puzzle. The empty cells of the Sudoku are filled with zeros, and the rest of the cells are filled with integers from 1 to 9. Your task is to fill all the empty cells such that the final matrix represents a Sudoku solution.

Note:
A Sudoku solution must satisfy all the following conditions-
1. Each of the digits 1-9 must occur exactly once in each row.
2. Each of the digits 1-9 must occur exactly once in each column.
3. Each of the digits 1-9 must occur exactly once in each of the 9, 3x3 sub-grids of the grid.

You can also assume that there will be only one sudoku solution for the given matrix.
Try solving now
04
Round
Medium
Video Call
Duration50 mins
Interview date3 Dec 2022
Coding problem1

1. Design Question

Design Airbnb wallet.
Features -

Users can see their wallet balance
Users can see transaction history.
-User can transfer money between wallet and his bank account
APIs -
vendor_transfer_id = create_transfer(account_number, routing_number, transfer_type, amount)

get_transfer_status(vendor_transfer_id)

Explained the design, but he was more interested in what all services will be there, scalability, caching, reducing latency, Atomic transactions, etc.

Problem approach

Tip 1: Started with the problem clarification and then back-of-the-envelope estimation
Tip 2: Then I started with database schema and the entities and all the services.
Tip 3: Then, in the last step I talked about the failover scenarios and how my solution supports scalability in the future.

05
Round
Medium
Video Call
Duration50 mins
Interview date5 Dec 2022
Coding problem1

Discussion regarding my current organization project, from the business requirements to development, challenges, timelines estimation, impact, my contribution, etc. Basically, they are checking if I know end to end and each and every minor piece of info about the project. Also, few questions regarding the scalability and the scope of any improvement in the current design.

1. Project based questions

Discussion regarding my current organisation project, from business requirement to development, challenges, timelines estimation, impact, my contribution, etc. Basically, they are checking if I know end to end and each and every minor info about the project. Also, few questions regarding the scalability and the scope of any improvement in the current design.

Problem approach

Tip 1: Need to know the end to end of the project you want to explain
Tip 2: Also ready with the question related to the challenges faced and non technical questions like team size or deadline miss or any pivot in the middle.

06
Round
Easy
HR Round
Duration30 mins
Interview date18 Dec 2022
Coding problem1

Cultural Fit

1. Basic HR Questions

It is a cultural fit round, where multiple question were asked related to behavior aspects. Some of them are :
1. Why Airbnb?
2. What impact will you bring after the joining?
3. What is the hardest problem you've solved and what are the challenges?
4. How to resolve conflict with your manager?

Problem approach

Tip 1: Practice STAR method to give the answer
Tip 2: Read Airbnb core values

07
Round
Easy
HR Round
Duration30 mins
Interview date19 Dec 2022
Coding problem1

It is a cultural fit round

1. Basic HR Questions

It is a cultural fit round where multiple questions were asked related to behavior aspects. Some of them are :
1. Why are you leaving your current company?
2. What are your short-term and long-term goal?
3. what features do you want to add to Airbnb App?
4. How to handle deadline miss of any project?

Problem approach

Tip 1: Prior to interview, jot down all such question and be ready with your experiences.
 

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which array operation has O(n) worst-case time complexity?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Amazon
4325 views
0 comments
0 upvotes
Analytics Consultant
3 rounds | 10 problems
Interviewed by ZS Associates
445 views
0 comments
0 upvotes
company logo
SDE - Intern
1 rounds | 3 problems
Interviewed by Amazon
1591 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 6 problems
Interviewed by Expedia Group
1171 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
25930 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
8522 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
5652 views
0 comments
0 upvotes