Box - Frontend Software Engineer - Technical Interview
Description:
Questions Asked:
- Implement an
EventEmitterclass:- Initially used an array for events and callbacks, but optimized it using an object with event names as keys and arrays of callbacks as values.
- Required to support multiple arguments for callbacks.
- Verbal Questions:
- Walk through what happens when a website is looked up (DNS lookup, server communication, etc.).
- How assets are served.
- The difference between HTTP and HTTPS and how it affects server communication.
Tags: Box, Frontend Engineer, Technical Interview, EventEmitter, System Design
