Wayfair Associate Engineer

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-11-25Added By Anonymous
Source: Link

YOE: 1

there were two rounds of interview after screen


**Coding round **

L2 -L4 question was disclosed by mistake


Hotel Management system

There are two classes

Orders and Order bill

some discount is to be calculated for the given orders if they satisfy the criteria

amount <40 : minus 20$

40 < amount < 100 discount of 20%

amount >100 discount 15%

there were orders 9

order 1 amount = 40

order 2 amount = 100

we need to add the order to the cart calculate the bill and give the final amount


Backspace string

https://leetcode.com/problems/backspace-string-compare/description/

An Array = ["First","2","3rd","Four"]

sum the digits in the string 2+3 = 6


Reverse words in String

https://leetcode.com/problems/reverse-words-in-a-string/description/


LLD

To design a parking lot where there three types of spots available for cars size small 100 ,medium 150,large 30

api design

schema design

class design

Comments