Chewy Senior Front-End Engineer Phone Interview Experience
Overview
This document details a candidate's phone interview experience for a Senior Front-End Engineer role at Chewy. The interview focused on assessing the candidate's knowledge of fundamental front-end technologies and their practical application. The interview included technical questions and a React-based coding challenge.
Interview Rounds
The initial phone interview covered a range of topics relevant to a senior front-end engineer. The interviewer posed questions to evaluate the candidate's understanding of JavaScript, React, TypeScript, CSS fundamentals, and API design principles.
Technical Questions:
- Asynchronous JavaScript: How to execute two asynchronous functions in parallel and wait for both to resolve before proceeding.
- CSS Display Properties: An inquiry regarding the different types of CSS
displayproperties. - Flexbox: A question defining Flexbox and its purpose.
- RESTful Services: The candidate was asked about the methods used in RESTful services (e.g., GET, POST, PUT, DELETE).
- TCP Protocol: What protocol is utilized by TCP?
- React Functional Components: Definition of functional components in React.
- CSS Block and Inline Elements: Identifying block-level and inline elements in CSS.
- Event Listeners in React: How to add an event listener to the
windowobject within a React component, and how to properly clean up the effect usinguseEffect. - JavaScript vs. TypeScript: Differences between JavaScript and TypeScript.
- TypeScript Classes vs. Interfaces: Key distinctions between classes and interfaces in TypeScript.
- PATCH Method: The interviewer asked if the candidate had experience using the PATCH method in RESTful APIs.
- CSS Units: Explanation of the differences between
rem,em, andpxunits in CSS. - Async/Await: Understanding the purpose and usage of
async/awaitin JavaScript. - Race Condition: Defining what a race condition is.
React Coding Question: Movie List
The candidate was presented with a React coding challenge requiring the development of a movie list component with the following specifications:
- An input field where users can enter a year to search for movies released in that year.
- A 'Search' button that triggers an API call to
https://jsonmock.hackerrank.com/api/moviesdata?Year={input}using the API.
Original Source
This experience was originally published on medium. Support the author by visiting the original post.
Read on medium