Instructions
Hey there! Thanks for stopping by.
We hope you can use these challenges for practice! You are not required to complete all or any - it is simply for practice to re-engage your usage of algorithms, data structures and CS fundamentals.
After you submit your solution with your writeup, you will be able to view your score.
Please refer to each question for individual details.
- This is a programming test
- You are free to choose any language from the list and code
- If the code area contains the function signature, just complete the function alone, we'll take care of the main function, headers, etc
- If you're expected to write the full code, it'd be mentioned in the code area. All inputs are from STDIN and output to STDOUT. If you're using Java, use the classname as 'Solution'
- You can print to console to debug your code using the appropriate print command for each language (Eg: count for C++, printf for C, etc.)
- It is okay to use reference language documentation or use an IDE that has code completion features. However it is not acceptable to consult/copy code from any source including a website, book, or friend/colleague to complete these tests.
These candidate materials are confidential and fully subject to the protections of the Candidate Non-Disclosure Agreement (“Agreement”) you have entered into with Airbnb, Inc. in conjunction with your interview process. Per the Agreement, you may not share or disclose these materials with anyone outside of Airbnb and you agree to not use, disclose or incorporate any third party inventions, intellectual property, confidential information or trade secrets, unless that third party has expressly consented to such use or disclosure in writing. The information, data and/or facts contained in these candidate materials are purely hypothetical and intended only for assessment purposes. All data included has been simulated for this exercise. Notwithstanding, to the extent you create code or other developments in the course of this exercise, you hereby fully assign to Airbnb all right, title, and interest therein.
Questions
Feel free to choose your preferred programming language from the list of languages supported for each question.There are 4 questions that are part of this test.Question Indexes | Question Types |
---|---|
Q1 Q4 | Coding Questions31 languages allowed: c, clojure, cpp, cpp14, cpp20, csharp, dart, erlang, go, haskell, java, java15, java17, java8, javascript, julia, kotlin, lua, objectivec, perl, php, pypy, pypy3, python, python3, r, ruby, rust, scala, swift, typescript |
Q2 | Coding Question12 languages allowed: c, cpp, cpp14, csharp, java, java8, javascript, objectivec, php, python, python3, ruby |
Q3 | Coding Question21 languages allowed: c, clojure, cpp, cpp14, csharp, erlang, go, haskell, java, java8, javascript, kotlin, lua, objectivec, perl, php, python, python3, ruby, scala, swift |
Confirmation Form
Form will load up once the environment is ready
- Preparing your environment