Skip to main content
Dropbox logo

Welcome to Dropbox Challenge -- Red Blue Blue Red

Test duration60 mins
No. of questions1 question
Platform Help|Execution Environment|FAQ

Instructions

  1. Please use the same email address that you use to apply to Dropbox.

  2. You should code in the language you are most comfortable with.

  3. Don't cheat.  It's fine to use customary reference websites, but don't collaborate with other people, or search for answers to this specific problem.

  4. Many candidates find that it's preferable to use their own development environment and then copy/paste into HackerRank, rather than developing in HackerRank itself.

  5. You can try out a sample test in a similar format here: http://hr.gs/dropboxsample.  This may be useful if you'd like to set up your own local development environment ahead of time.
  6. You only need to complete the function itself.  We'll take care of the main function, headers, etc.
  7. For more information about supported languages or other questions, check out the FAQ here.

  8. Pro tip: you can print to console to debug your code using the appropriate print command for each language (i.e. cout for C++, print for C, etc.).

Try Sample Test

Questions

Feel free to choose your preferred programming language from the list of languages supported for each question.There is 1 question that is part of this test.
Question IndexesQuestion Types
Q1
Coding Question16 languages allowed: c, clojure, cpp, cpp20, csharp, erlang, haskell, java, java15, javascript, objectivec, perl, php, python, ruby, scala
Try Sample Test