Wayfair Karat

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-09-19Added By Anonymous
Source: Link

Karat Interview for Wayfair

Introduction - 1 min

System design - 20 mins

Coding - 30 mins


Introduction

Tell me about your technical profile in a minute


System Design

The questions below are not in the exact words but they were something like below:

1.There are 100000 vending machines all around the world which need to update a database about maintaince activities like restocking or any technical failure. The update happens at midnight for all the machines. A batch system runs after the update and creates work orders for the maintaince task. Do you see a problem in this design?
2.There is a photo sharing application where users can upload a photo and share it using a link. There are 26 servers to store these photos. The server where a photo is stored is decided by the starting character of the user's name. For example: if the user's name is 'Sundar' the photo will go to the 19th server.
3.1A, 2B, 3C, 4D, 5E, 6F, 7G, 8H, 9I, 10J, 11K, 12L, 13M, 14N, 15O, 16P, 17Q, 18R, 19S, 20T, 21U, 22V, 23W, 24X, 25Y, 26Z
4.Do you see any problem with this design?
5.Follow up question: What parameters will you consider to calculate the cost of the database?

There were 3 more questions similar to the questions above in SD.


Coding

A variation of the meeting room problem.

https://leetcode.com/problems/meeting-rooms/

Comments