Upload Button Icon Add office photos

Airbnb

Compare button icon Compare button icon Compare

Filter interviews by

Airbnb Software Engineer Interview Questions and Answers

Updated 8 May 2025

Airbnb Software Engineer Interview Experiences

2 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Not Selected

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. Top k repeated items
  • Ans. 

    Find the top k most frequently occurring items in an array of strings.

    • Use a hash map to count occurrences of each item. Example: ['apple', 'banana', 'apple'] -> {'apple': 2, 'banana': 1}.

    • Sort the items based on their counts. Example: [('apple', 2), ('banana', 1)] sorted by count.

    • Select the top k items from the sorted list. Example: If k=1, return ['apple'].

  • Answered by AI
  • Q2. Design a flipping coins game
  • Ans. 

    A flipping coins game where players guess the outcome of coin flips to win points.

    • Players take turns guessing 'Heads' or 'Tails' for each coin flip.

    • Each correct guess earns the player a point.

    • The game continues for a set number of rounds or until a player reaches a target score.

    • Example: If a player guesses 'Heads' and the coin lands on 'Heads', they score a point.

    • At the end of the game, the player with the most points ...

  • Answered by AI
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Company Website and was interviewed in Sep 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Implement an iterator to flatten 2D vector

Round 2 - One-on-one 

(1 Question)

  • Q1. Find shortest path to get all keys
  • Ans. 

    Use Dijkstra's algorithm to find the shortest path to get all keys

    • Implement Dijkstra's algorithm to find the shortest path in a graph

    • Consider the keys as nodes in the graph and the paths between keys as edges

    • Keep track of the keys collected and update the shortest path accordingly

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice algorithmic questions

Skills evaluated in this interview

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more

Top trending discussions

View All
Salary Discussions, Hike & Promotions
2w
a senior executive
GF salary Vs. My salary
Me and my gf have been dating for 5 years. Back in 2020, I started my career with a package of ₹5 LPA. Over the years, I’ve reached ₹22 LPA in 2025. She started her journey with ₹3 LPA(2020) and is now earning ₹8 LPA(2025). We’ve been in a live-in relationship for around 2 years, and the idea was to share expenses equally. But, equal sharing never really happened. If we go to a café she likes, especially with friends, I will pay the entire bill. We only split the house rent and grocery bills. I told her lots of time to cut down these costly cafe expenses or earn more money, increase your package, study and work hard, but.....she is now in her comfort zone. Being from a tech background, I have seen people upgrade their skills and package for a good life in metro cities. I am ready to support her in her studies, but she is like I am earning enough for myself.... No, you are not. I love her, but I don't know how to overcome this issue between us. Please suggest!
Got a question about Airbnb?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Campus Placement and was interviewed in Dec 2016. There were 4 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Given a 2d matrix with some D doors and W walls, we need fill distance matrix with minimum distance to the nearest door
  • Ans. 

    Given a 2D matrix with doors and walls, fill distance matrix with minimum distance to the nearest door.

    • Iterate through the matrix and find the doors

    • Use Breadth-First Search (BFS) to calculate the minimum distance from each cell to the nearest door

    • Update the distance matrix with the minimum distances

  • Answered by AI
  • Q2. Given a read-only array we want to find kth smallest element in unordered array with O(1) space
  • Ans. 

    Find kth smallest element in unordered array with O(1) space

    • Use the QuickSelect algorithm to partition the array and find the kth smallest element

    • Choose a pivot element and partition the array into two subarrays

    • Recursively partition the subarray that contains the kth smallest element

    • Repeat until the pivot element is the kth smallest element

    • Time complexity: O(n) average case, O(n^2) worst case

  • Answered by AI
  • Q3. Design question
  • Q4. Find friends of friend who already are not friends with you
  • Ans. 

    To find friends of friends who are not already friends with you, we can first find your friends and then their friends excluding yourself and your friends.

    • Get your list of friends

    • For each friend, get their list of friends

    • Exclude yourself and your friends from the final list of friends of friends

  • Answered by AI

Interview Preparation Tips

Round: Technical Interview
Experience: It started with an informal talk after he gave his introduction. We talked about the cyclone that was going to be there and what I did in my internship and my previous projects. Then we moved to questions. After solving both questions he asked if I had questions.
Tips: Just walk the interviewer through the solution you're proposing.

Round: Other Interview
Experience: He started with a design question with how to stream an image such that all clients see the same image at the same time. You need to take care of delays, network problems. He kept on adding new elements like compression, streaming, utc time related issues, client rendering delays and so on.

Round: Other Interview
Experience: This was bar-raiser round.

Skills: Design, Algorithms And Data Structures, Graph Theory
College Name: IIT Madras

Skills evaluated in this interview

I appeared for an interview before Apr 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

It started with an informal talk after he gave his introduction. We talked about the cyclone that was going to be there and what I did in my internship and my previous projects. Then we moved to questions. After solving both questions he asked if I had questions.

  • Q1. 

    Kth Largest Element Problem Statement

    Given an array of distinct positive integers and a number 'K', your task is to find the K'th largest element in the array.

    Example:

    Input:
    Array: [2,1,5,6,3,8], K ...
  • Ans. 

    Find the Kth largest element in an array of distinct positive integers.

    • Sort the array in non-increasing order

    • Return the Kth element from the sorted array

    • Handle multiple test cases

  • Answered by AI
  • Q2. 

    Orange Rotting Problem Statement

    Consider a grid containing oranges. Each cell in this grid can hold one of three integer values:

    • Value 0: Represents an empty cell.
    • Value 1: Represents a fresh orang...
  • Ans. 

    The task is to determine the minimum time required for all fresh oranges to become rotten in a grid.

    • Create a queue to store the rotten oranges and their time of rotting.

    • Iterate through the grid to find the initial rotten oranges and add them to the queue.

    • Perform BFS by popping each rotten orange from the queue, rot adjacent fresh oranges, and add them to the queue with updated time.

    • Continue until the queue is empty, ke...

  • Answered by AI
Round 2 - Face to Face 

Round duration - 45 minutes
Round difficulty - Easy

This was a design round.

Interview Preparation Tips

Eligibility criteriaAbove 8 CGPAUber interview preparation:Topics to prepare for the interview - Design, Algorithms And Data Structures, Graph Theory, System Design, Aptitude, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewRejected

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Dec 2015. There were 5 interview rounds.

Interview Questionnaire 

6 Questions

  • Q1. Reverse a linked list
  • Ans. 

    Reverse a linked list

    • Iteratively swap the next and previous pointers of each node

    • Use three pointers to keep track of the current, previous, and next nodes

    • Update the head pointer to the last node after reversing

  • Answered by AI
  • Q2. Object Oriented Programming
  • Q3. Database questions
  • Q4. What do you like about this company
  • Ans. 

    I appreciate the company's commitment to innovation and employee development.

    • Strong focus on innovation in software development

    • Opportunities for professional growth and development

    • Positive company culture and work environment

  • Answered by AI
  • Q5. Why do you want to work here
  • Ans. 

    I am impressed by the company's innovative projects and collaborative work environment.

    • Impressed by innovative projects

    • Desire to work in a collaborative environment

    • Excited about potential for growth and learning opportunities

  • Answered by AI
  • Q6. Long term goals

Interview Preparation Tips

Round: Test
Experience: Simple aptitude test where they filtered out 2/3 of the applicants (12-15 selected out of 30)
Duration: 1 hour
Total Questions: 40

Round: Technical Interview
Experience: General questions about you, your projects etc.
The linked list question, you can write in any language you like.
OOP concepts like how it is implemented in your favourite language.

Round: Technical Interview
Experience: Your thoughts on designing a database for a company that aggregates jobs from any available source.
The schema for the database and your reason for it.

Round: HR Interview
Experience: Standard HR questions

College Name: Shiv Nadar University, Dadri

Skills evaluated in this interview

I appeared for an interview in Sep 2016.

Interview Questionnaire 

9 Questions

  • Q1. Questions on DBMS like find the 2nd maximum salary of employee
  • Q2. A table was given and i need Normalize it
  • Ans. 

    Normalization organizes data to reduce redundancy and improve integrity in databases.

    • Identify functional dependencies: Determine which attributes depend on others.

    • First Normal Form (1NF): Ensure all entries in a column are atomic. E.g., split 'Phone Numbers' into separate entries.

    • Second Normal Form (2NF): Remove partial dependencies. E.g., if 'StudentID' determines 'StudentName', separate into a new table.

    • Third Normal ...

  • Answered by AI
  • Q3.  join, groupby queries on a given table
  • Ans. 

    Understanding join and groupby queries is essential for data manipulation in SQL databases.

    • JOIN combines rows from two or more tables based on a related column. Example: SELECT * FROM A JOIN B ON A.id = B.a_id;

    • INNER JOIN returns records with matching values in both tables. Example: SELECT * FROM A INNER JOIN B ON A.id = B.a_id;

    • LEFT JOIN returns all records from the left table and matched records from the right table. E...

  • Answered by AI
  • Q4. Question related to Computer Networks like how internet works
  • Q5. What is web server and application server
  • Ans. 

    Web server handles HTTP requests and responses, while application server executes application logic.

    • Web server serves static content like HTML, CSS, JS files

    • Application server executes dynamic code like Java, Python, Ruby

    • Web server communicates with client, application server communicates with database

    • Examples of web servers: Apache, Nginx, IIS

    • Examples of application servers: Tomcat, JBoss, WebSphere

  • Answered by AI
  • Q6. Coding question to print a given pattern
  • Ans. 

    This question involves coding a pattern based on specified rules, typically using loops and conditionals.

    • Identify the pattern structure (e.g., stars, numbers).

    • Use nested loops for rows and columns.

    • Example: For n=3, output could be: * ** ***

    • Consider edge cases like n=0 or negative values.

  • Answered by AI
  • Q7. Proper discussion on my projects that were mentioned in the resume. They usually ask to make class diagram, ER diagram of project etc.
  • Q8. Firstly HR asked to introduce yourself
  • Q9. Then he asked simple questions like why u want to join this company, my family background, asked about hobbies, academic achievements etc

Interview Preparation Tips

Round: Test
Experience: Two coding questions were given in the 1st round
1)find nodes at kth distance from root node
2)arrange a given array in min-max sequence
Duration: 1 hour
Total Questions: 2

College Name: Thapar University, Patiala

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Nov 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Data Structures
  • Q2. Algorithms knowledge

Interview Preparation Tips

Interview preparation tips for other job seekers - Study DSA and be thorough with projects.
Are these interview questions helpful?

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 120 minutes
Round difficulty - Easy

It was a mix of mathematical aptitude, logical ability, and puzzles along with 2 programming questions of easy and medium levels. Time was enough and no sectional time was present. 1-2 MCQs on SQL was also present.

  • Q1. 

    Boolean Matrix Transformation Challenge

    Given a 2-dimensional boolean matrix mat of size N x M, your task is to modify the matrix such that if any element is 1, set its entire row and column to 1. Specifi...

  • Ans. 

    Modify a boolean matrix such that if any element is 1, set its entire row and column to 1.

    • Iterate through the matrix to find elements with value 1

    • Store the row and column indices of these elements

    • Update the entire row and column for each element found to be 1

  • Answered by AI
Round 2 - Video Call 

Round duration - 60 minutes
Round difficulty - Easy

It was an online video interview round on HackerEarth with a simultaneous code option. It was mostly justifying your resume in the first 15 minutes. After that OOPS was majorly asked. Basics of programming including questions on STL were asked. A class that required inheritance was asked by the interviewer to write. I was helped by the interviewer if I got stuck somewhere, Some questions on the implementation of hashmaps and priority queues were also asked. A puzzle was asked which luckily struct to me at that moment.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as Software Engineer in HyderabadEligibility criteriaAbove 7 CGPAUber interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, Aptitude , Programming Language.Time required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Clear basics
Tip 2 : Prepare well
Tip 3 : Do at-least 2 projects

Application resume tips for other job seekers

Tip 1 : Write only those things in resume in which you are 100% confident
Tip 2 : Write maximum projects you have and be ready to explain them thoroughly

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Oct 2019. There were 5 interview rounds.

Interview Questionnaire 

9 Questions

  • Q1. Graph Question:- There is a chessboard. It is different from the normal chessboard. White and black blocks can be anywhere. Source and destination block are given. I was asked to find the path with a mini...
  • Q2. Find the sum of k smallest number in a BST.
  • Ans. 

    Find sum of k smallest numbers in a BST.

    • Traverse the BST in-order and add the k smallest numbers to a sum variable.

    • Use a priority queue to keep track of the k smallest numbers.

    • If k is greater than the number of nodes in the BST, return the sum of all nodes.

    • If k is 0, return 0.

  • Answered by AI
  • Q3. System design of BookMyShow. Design the algorithm and database for the seat booking system. How this the system will handle the case when the payment gets failed. Again he asked me to write the query for...
  • Ans. 

    Design algorithm and database for seat booking system of BookMyShow and handle failed payments.

    • Create a database with tables for movies, theaters, seats, bookings, and payments

    • Use a locking mechanism to prevent double booking of seats

    • If payment fails, release the locked seats and notify the user

    • Write a query to get the timestamp in SQL: SELECT CURRENT_TIMESTAMP;

  • Answered by AI
  • Q4. Write the code for the time stamp in C.
  • Ans. 

    Code for time stamp in C

    • Use the time.h header file

    • Call the time() function to get the current time in seconds

    • Convert the time to a string using strftime() function

    • Use the format string to specify the desired format of the time stamp

  • Answered by AI
  • Q5. Write the code for rearranging the array in consecutive pair multiplication. For example consider an array with 10 element A0, A1, A2......A9. The resultant array will be A0*A1, A1*A2, A2*A3, and so on. Th...
  • Ans. 

    Rearrange array in consecutive pair multiplication in descending order.

    • Create a new array to store the multiplied values

    • Use a loop to iterate through the original array and multiply consecutive pairs

    • Write a compare function to sort the new array in descending order

  • Answered by AI
  • Q6. Write the code to rearrange the array in maximum-minimum form.
  • Ans. 

    Code to rearrange an array in maximum-minimum form.

    • Sort the array in descending order.

    • Create a new array and alternate between adding the maximum and minimum values from the sorted array.

    • Return the new array.

    • Time complexity: O(nlogn)

    • Space complexity: O(n)

  • Answered by AI
  • Q7. What is stoi function (stoi() function)? Its uses and code to Implement stoi function.
  • Ans. 

    stoi() function converts a string to an integer.

    • stoi() is a C++ function that takes a string as input and returns an integer.

    • It is used to convert a string of digits into an integer.

    • It can also handle negative numbers and ignore leading whitespace.

    • Example: int num = stoi("123"); // num is now 123

  • Answered by AI
  • Q8. Write code for Longest Common Substring. (time limit for writing this code was 5-6 minutes)
  • Ans. 

    Code for finding the longest common substring in an array of strings.

    • Iterate through the first string and check for all possible substrings

    • Check if the substring is present in all other strings

    • Keep track of the longest common substring found so far

    • Return the longest common substring

  • Answered by AI
  • Q9. Q: What is a Transaction in DBMS and ACID properties? Q: What is Thread and how it is different from the Process? Q: What are some Linux commands. Write any 5 commands? Q: Why sudo is used for commands?...
  • Ans. 

    Answers to common technical questions in a software engineering interview

    • A transaction in DBMS is a sequence of operations that must be treated as a single unit of work. ACID properties ensure reliability and consistency of transactions.

    • A thread is a lightweight process that shares memory and resources with other threads in the same process. A process is a separate instance of a program.

    • Common Linux commands include ls...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident about what you speak.

Take your step forward. Try to be firstly interviewed if choice arrives ( They get screwed up at the end and ask questions that the previous candidates failed ).

Before approaching the solution to be clear with edge test-cases. Once you are completely sure then come up with an approach.

Skills evaluated in this interview

I applied via AmbitionBox and was interviewed before Sep 2020. There were 3 interview rounds.

Interview Questionnaire 

8 Questions

  • Q1. About last role of mine
  • Q2. Asked about My family background
  • Q3. Salary discussion and negotiation to me
  • Q4. Initially Basics of PHP language.
  • Q5. Oops concepts should have prepared
  • Q6. Questions about laravel frame work
  • Q7. Diff between unique and primary key in sql
  • Ans. 

    Unique key allows null values, primary key does not.

    • Primary key is a unique identifier for a record in a table

    • Unique key allows null values, primary key does not

    • A table can have only one primary key, but multiple unique keys

    • Primary key is automatically indexed, unique key is not necessarily indexed

  • Answered by AI
  • Q8. Use of having clause in sql
  • Ans. 

    HAVING clause is used in SQL to filter data based on aggregate functions.

    • It is used with GROUP BY clause to filter data based on aggregate functions

    • It is used to filter data after grouping has been done

    • It is similar to WHERE clause but operates on grouped data

    • Example: SELECT department, AVG(salary) FROM employees GROUP BY department HAVING AVG(salary) > 50000;

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared about the framework and Basics of primary skilled programming language.

Skills evaluated in this interview

Airbnb Interview FAQs

How many rounds are there in Airbnb Software Engineer interview?
Airbnb interview process usually has 2 rounds. The most common rounds in the Airbnb interview process are One-on-one Round and Coding Test.
How to prepare for Airbnb Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Airbnb. The most common topics and skills that interviewers at Airbnb expect are Data Structures, Python, C++, Backend and Architecture.
What are the top questions asked in Airbnb Software Engineer interview?

Some of the top questions asked at the Airbnb Software Engineer interview -

  1. Find shortest path to get all k...read more
  2. design a flipping coins g...read more
  3. Top k repeated it...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3.5/5

based on 2 interview experiences

Difficulty level

Moderate 100%

Duration

2-4 weeks 50%
4-6 weeks 50%
View more
Airbnb Software Engineer Salary
based on 20 salaries
₹18 L/yr - ₹51 L/yr
273% more than the average Software Engineer Salary in India
View more details

Airbnb Software Engineer Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

3.0

Skill development

4.0

Work-life balance

5.0

Salary

3.0

Job security

5.0

Company culture

4.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Claims Specialist
37 salaries
unlock blur

₹5.1 L/yr - ₹10.2 L/yr

Senior Analyst
35 salaries
unlock blur

₹7.7 L/yr - ₹19.9 L/yr

Business Analyst
22 salaries
unlock blur

₹9.2 L/yr - ₹24 L/yr

Team Coordinator
21 salaries
unlock blur

₹7.2 L/yr - ₹20 L/yr

Resolution Specialist
21 salaries
unlock blur

₹4.3 L/yr - ₹7 L/yr

Explore more salaries
Compare Airbnb with

Facebook

4.3
Compare

Google

4.4
Compare

Uber

4.2
Compare

Amazon

4.0
Compare
write
Share an Interview