Wayfair OA 2025 | Inventory Coupon Matching Engine & Warehouse Automation Task Scheduler
Question · Posted Jun 2026
Problem 1 - Inventory Coupon Matching Engine Problem Statement You are designing a real-time checkout engine that validates promotional coupon codes. You are given: An array of strings coupons representing valid coupon codes. An array of strings queries representing codes entered by customers. A query is considered valid if: It exactly matches a coupon code, or It starts with a valid coupon code. For each query, determine whether it is valid. Return a boolean array where each element indicates whether ...
The full answer & interview discussion are available to premium members.
Log in Create a free account