Robinhood · Senior Web Infrastructure Developer (6 years)
Rounds
- Phone Technical Screen
Questions asked
- Vanilla JavaScript coding task: Given an HTML page with a 3x3 grid of rectangles and a class with empty methods, implement a chainable API for selecting and manipulating rectangles.
- Example usage:
RectanglesClass
.selectById(13)
.color("red")
.afterDelay(500)
.shiftByPx(10)
.color("green");
- Main things tested:
- Implementing chainable class methods
- Updating DOM elements
- Handling delayed actions
- Preserving execution order in a method chain
- Basic JavaScript class/API design
Tips
- It was more focused on practical vanilla JS and async behavior than algorithms.
- Practice chaining methods and managing async actions in JS classes.
