Wayfair Karat | Senior SWE

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2021-09-20Added By Anonymous
Source: Link

Company: Wayfair
Role: Senior Software Engineer
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

The interview was for 1 hour. Initially, I was given a minute to introduce myself. The interview consisted of two sections:

1. Case-specific, theoretical questions.

  • Given a DB of a customer, how do you find the number of friends for that particular customer?
  • You have a fleet of services which has a Load Balancer (LB) in front of them which assigns tasks in round-robin fashion. Do you think this would be the right infrastructure to solve a case where you want the service to perform a customer disclosure task?
  • You have an API which performs analytics operations and another API which does credit card transaction updates. Which of these would be strongly consistent and which one is eventually consistent?
  • You have a service which sends customer email notifications. The service was down for some time and a few customers (there is a DB of all customers who are supposed to get the notifications) have not received their notifications. How do you identify which customers haven't received the notifications?

2. Coding question. You will ONLY be given 20 minutes to solve it. Not an extra minute more. In these 20 minutes, you need to understand/explain your approach and solve the problem. I was given a node tree and asked to find which nodes have single parents and which nodes don't have parents.

Comments