Dropbox Frontend Interview Questions

When I saw there were limited frontend interview experiences, I decided to share my recent frontend phone interview questions and also ask for advice!

I had two rounds of phone interviews, and the questions were not typical software engineer interview questions.

  1. Given a segment of HTML:
    Write a getByClassName function. The input should be var getByClassName = function(root, className), and it should return all nodes that match the className.
    The follow-up question was to write a getByClassHierarchy function. The input getByClassHierarchy(root, "a>d") should return the matching nodes.

  2. Given a segment of HTML:
    The following content requires a score higher than 188 for viewing.

Complete the loadTemplate and render functions. That’s it!