front-end-interview-handbook/contents/companies/airbnb-front-end-interview-...

64 lines
4.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Airbnb Front End Interview Questions
sidebar_label: Airbnb interview questions
description: Airbnb frontend interview questions covering JavaScript coding, UI development, system design, and LeetCode problems with real candidate experiences.
---
:::info Latest version on GreatFrontEnd
Find the latest version of this page on [GreatFrontEnd's Airbnb Front End Interview Guide](https://www.greatfrontend.com/interviews/company/airbnb/questions-guides?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook).
:::
## JavaScript coding questions
- Write a simple promise.
- Implement a `StoreData` class that add key/value pairs and listen to value changes for keys. [Source](https://leetcode.com/discuss/post/348436/airbnb-phone-screen-implement-storedata-p3ypb/)
## User interface coding questions
- Given an input and an endpoint which returns a JSON list, as a result, extend it to autocomplete on change, handle key navigation through the results.
- [Read answer](https://www.greatfrontend.com/questions/system-design/autocomplete?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) (Free)
- Given a star widget embedded in a form write the code to select the stars and submit the correct value through a normal form action. Make reusable for multiple star widgets.
- [Practice question](https://www.greatfrontend.com/questions/user-interface/star-rating?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) (Free)
_Source: [Glassdoor Airbnb Front End Engineer Interview Questions](https://www.glassdoor.sg/Interview/Airbnb-Front-End-Engineer-Interview-Questions-EI_IE391850.0,6_KO7,25.htm)_
## Algorithm
Airbnb does have rounds evaluating your Computer Science fundamentals by asking LeetCode-style questions. Do be prepared for them.
## Insider tips from the GreatFrontEnd community
These tips were shared by [GreatFrontEnd](https://www.greatfrontend.com/?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook) users who have completed interviews with Airbnb.
**21st Mar 2025**:
> "Our frontend technical screens tend to be more practical than algorithmic".... proceeds to drop a LC hard question during the screen FML
>
> Not my first rejection but actually wanted to work at Airbnb for a long time now so this one just hurts a bit more. I actually learned a good amount using GreatFrontEnd to prepare so I definitely did improve.
**12th Jul 2024**:
> Just got done, it was okay. They asked Backbone.js, but the 2nd part was slightly different from GreatFrontEnd. Threw me off quite a bit. Got the right output, but took up the whole time. Let's see! Not feeling super confident based of the interviewer's demeanor
>
> It was add on listener, but the event names are change:foo, change:bar, (which is fine).
>
> There was additional on change which should be a global change listener that fires when any change is made
>
> And the kicker was that when you call unset, you need to keep the listeners (soft delete the data), so that when you set the attribute again, all the global listeners and the attribute listeners before unset are fired
**19th Apr 2024**:
> I had the airbnb onsite and thought I had done great on the FE architecture round just to hear from the recruiter the feedback was negative. I'm usually good at predicting the outcome of interviews but honestly this one puzzles me. Question was to design a chat, nothing fancy. Interviewer never showed signs of disagreement or even contested my design decisions. Recruiter won't share more details....
**16th Apr 2024**:
> Had my first technical round with Airbnb, did all Airbnb tagged problems on GreatFrontEnd except the Backbone Model one. Guess which one they gave me lol all good though, I managed to solve the problem with time to spare, Im pretty sure I did enough to make it to the next round but its hard to tell in these times.
**13th Mar 2024**:
> Just got rejected from Airbnb. I do want to thank this forum / GreatFrontEnd for system design cause I got a strong yes from that on my system design. So the method works great. Unfortunately I didnt do well on my experience interview out of all things lol. I laid out full technical details process, results, issues, but thats not enough. Oh well. It was nice to try.
For more insider tips, visit [GreatFrontEnd](https://www.greatfrontend.com/?utm_source=frontendinterviewhandbook&utm_medium=referral&gnrs=frontendinterviewhandbook)!