Community

Discussion Board

Anonymous interview experiences, offers and career talk from frontend engineers.

anon_606445

Dropbox - [Frontend Engineer] - Phone Screen

Level: Mid-Level
Education: BA CS
Years of Experience (YOE): 4
Questions Asked:
Custom DOM Traversal:
Function Signature: getElementsByClassnameHierarchy(root, 'a>b>c')
Description:

  • Find all elements with class c
  • Ensure their parent has class b, and their grandparent has class a
  • Traverse the DOM accordingly and return matching nodes

Tags:
Dropbox, Frontend Engineer, Phone Screen

No replies yet

Markdown supported. 20 more characters needed.