WayFair interview experience - L4

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-11-03Added By Anonymous
Source: Link

Company: Wayfair
Role: L4
Interview Stage: Onsite
Location: unknown
Year: unknown

Original Post Content:

Giving Back to the Community that helped me.

Platform: hackerrank

Screening Round:
Given a customer purchase log for two different days (fields: customer_id, product_id), the task was to find loyal customers who made purchases on both days and bought at least three distinct products in total.

Machine Coding Round:
The problem involved implementing an order management system.
Each order is categorized based on its price:
Cheap: price < 20
Medium: 20 ≤ price ≤ 40
Expensive: price > 40

You were required to compute the total discounted price of all orders.
The task involved implementing the Order and OrderService interfaces with methods such as:
addOrder()
getOrderList()
getTotalDiscountedPrice()
getDiscountedPriceByCategory()
(and other related methods)

LLD (Low-Level Design) Round:
The question focused on designing a Parking Lot System with emphasis on:
Parking slot allocation and release logic
Ensuring concurrency handling
Making the design scalable and extensible

Comments