0 day streak

Wayfair coding interview questions

E-commerce and consumerProduct Global Machine coding / LLD

Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.

0%ready
Your level: practise every reported question.
ProgressTitleDifficultyTopicHow often hereAlso asked atNext step
Minimum Number of Swaps to Make the String BalancedStack Basics Medium Stack Twilio, ServiceNow, Visa +1 Solve
Validate IP AddressSimulation Medium Arrays & Hashing Meta, Nvidia, X (Twitter) +14 Solve
Add StringsRight to Left Traversal Easy Arrays & Hashing Microsoft, Airbnb, Block (Square) +7 Solve
Subdomain Visit CountHashing Medium Arrays & Hashing Pinterest, Roblox, Indeed +3 Solve
Best Sightseeing PairKadane's Algorithm Medium Arrays & Hashing Nutanix, Zepto Solve
Design A LeaderboardPre-processing + tradeoffs Medium Design Data Structures Uber, Pinterest, Coinbase +2 Solve
Alert Using Same Key-Card Three or More Times in a One Hour PeriodSliding Window · Fixed Medium Arrays & Hashing Stripe, Robinhood, Indeed Solve
Maximum Length of Repeated SubarrayStrings Medium Dynamic Programming Netflix, Palantir, Indeed +1 Solve
Longest Happy StringAdvanced Medium Heaps TikTok (ByteDance), Capgemini Solve
Longest Substring Without Repeating CharactersSliding Window · Variable Medium Arrays & Hashing Google, Amazon, Microsoft +114 Solve
String CompressionTwo Pointer Medium Arrays & Hashing Microsoft, Stripe, Nvidia +34 Solve
Valid PalindromeTwo Pointer Easy Arrays & Hashing Microsoft, Meta, Apple +53 Solve
Sliding Window MaximumMonotonic Stack Hard Monotonic Stack Google, Amazon, Microsoft +51 Solve
Time Needed to Rearrange a Binary String1D DP Medium Dynamic Programming Salesforce, ServiceNow, PayPal Solve
Least Number of Unique Integers after K RemovalsTop K / Kth Largest / Smallest Medium Heaps Booking.com, Qualtrics, Morgan Stanley +1 Solve
Maximum Product SubarrayKadane's Algorithm Medium Arrays & Hashing LinkedIn, Zynga, Salesforce +16 Solve
Container With Most WaterTwo Pointer Medium Arrays & Hashing Google, Amazon, Microsoft +59 Solve
Course Schedule IITopological Sort Medium Graphs Google, Amazon, Meta +42 Solve
Valid SudokuHashing Medium Arrays & Hashing Apple, Snap, Roblox +6 Solve
Group AnagramsHashing Medium Arrays & Hashing Amazon, Microsoft, Meta +82 Solve
Reaching PointsMath / Number Theory Hard Arrays & Hashing Nvidia, Snap, Cloudflare +7 Solve
Backspace String CompareTwo Pointer Easy Arrays & Hashing Amazon, Booking.com, Agoda +6 Solve
Employee Free TimeLine Sweep Hard Intervals Airbnb, Pinterest, DoorDash +5 Solve
Maximal RectangleMonotonic Stack Hard Monotonic Stack Google, Indeed, Intuit +7 Solve
Merge IntervalsBasics Medium Intervals Google, Amazon, Microsoft +107 Solve
Longest Palindromic SubstringStrings Medium Dynamic Programming Amazon, Microsoft, Apple +68 Solve
Fizz BuzzSimulation Easy Arrays & Hashing Nvidia, Spotify, Agoda +11 Solve
Kadane's Algorithm - SimpleKadane's Algorithm Medium Arrays & Hashing Amazon, Microsoft, Apple +79 Solve
First Missing PositiveIn-place Transformations Hard Arrays & Hashing Amazon, Microsoft, Netflix +34 Solve
Sqrt(x)Search on Answer Range Easy Binary Search TikTok (ByteDance), Epic Games, Grammarly +15 Solve
Two Sum II - Input Array Is SortedTwo Pointer Medium Arrays & Hashing Target, JPMorgan Chase, BNY +5 Solve
Also reported, being added to AlgoRung (8)

Maximum Number of Balloons · Delete Characters to Make Fancy String · Minimum Moves to Reach Target Score · Largest Magic Square · Number of Divisible Substrings · The Number of Full Rounds You Have Played · Max Chunks To Make Sorted · Magic Squares In Grid

Questions people ask

What coding questions does Wayfair ask most?

Minimum Number of Swaps to Make the String Balanced, Validate IP Address, Add Strings, Subdomain Visit Count, Best Sightseeing Pair, Design A Leaderboard, Alert Using Same Key-Card Three or More Times in a One Hour Period, Maximum Length of Repeated Subarray.

Which topics come up in Wayfair coding rounds?

strings, arrays, hash maps, sliding window, greedy, intervals.

How hard are Wayfair coding questions?

Of the reported questions, 5 are easy, 21 medium and 5 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.