Wayfair LeetCode Questions
20 questions all-time · 5 easy · 12 medium · 3 hard
| # | Problem | Difficulty | Frequency | Acceptance |
|---|---|---|---|---|
| 1 | Best Sightseeing Pair Array, Dynamic Programming | Medium | 100 | 0.6% |
| 2 | Minimum Moves to Reach Target Score Math, Greedy | Medium | 100 | 0.5% |
| 3 | Largest Magic Square Array, Matrix, Prefix Sum | Medium | 100 | 0.8% |
| 4 | Design A Leaderboard Hash Table, Design, Sorting | Medium | 98 | 0.7% |
| 5 | Alert Using Same Key-Card Three or More Times in a One Hour Period Array, Hash Table, String, Sorting | Medium | 98 | 0.5% |
| 6 | Maximum Number of Balloons Hash Table, String, Counting | Easy | 98 | 0.6% |
| 7 | Delete Characters to Make Fancy String String | Easy | 98 | 0.7% |
| 8 | Longest Happy String String, Greedy, Heap (Priority Queue) | Medium | 98 | 0.7% |
| 9 | Tournament Winners Database | Hard | 98 | 0.5% |
| 10 | Team Scores in Football Tournament Database | Medium | 98 | 0.6% |
| 11 | Number of Divisible Substrings Hash Table, String, Counting, Prefix Sum | Medium | 89 | 0.7% |
| 12 | Add Strings Math, String, Simulation | Easy | 68 | 0.5% |
| 13 | Group Anagrams Array, Hash Table, String, Sorting | Medium | 68 | 0.7% |
| 14 | Reaching Points Math | Hard | 68 | 0.3% |
| 15 | Valid Palindrome Two Pointers, String | Easy | 58 | 0.5% |
| 16 | Backspace String Compare Two Pointers, String, Stack, Simulation | Easy | 58 | 0.5% |
| 17 | Last Person to Fit in the Bus Database | Medium | 58 | 0.7% |
| 18 | Sliding Window Maximum Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue | Hard | 58 | 0.5% |
| 19 | Time Needed to Rearrange a Binary String String, Dynamic Programming, Simulation | Medium | 58 | 0.5% |
| 20 | Least Number of Unique Integers after K Removals Array, Hash Table, Greedy, Sorting, Counting | Medium | 58 | 0.6% |
How to read this list
The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.
Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.