grindmapcompany-wise LeetCode
All companies

Wayfair LeetCode Questions

20 questions all-time · 5 easy · 12 medium · 3 hard
# Problem Difficulty Frequency Acceptance
1Best Sightseeing Pair
Array, Dynamic Programming
Medium
100
0.6%
2Minimum Moves to Reach Target Score
Math, Greedy
Medium
100
0.5%
3Largest Magic Square
Array, Matrix, Prefix Sum
Medium
100
0.8%
4Design A Leaderboard
Hash Table, Design, Sorting
Medium
98
0.7%
5Alert Using Same Key-Card Three or More Times in a One Hour Period
Array, Hash Table, String, Sorting
Medium
98
0.5%
6Maximum Number of Balloons
Hash Table, String, Counting
Easy
98
0.6%
7Delete Characters to Make Fancy String
String
Easy
98
0.7%
8Longest Happy String
String, Greedy, Heap (Priority Queue)
Medium
98
0.7%
9Tournament Winners
Database
Hard
98
0.5%
10Team Scores in Football Tournament
Database
Medium
98
0.6%
11Number of Divisible Substrings
Hash Table, String, Counting, Prefix Sum
Medium
89
0.7%
12Add Strings
Math, String, Simulation
Easy
68
0.5%
13Group Anagrams
Array, Hash Table, String, Sorting
Medium
68
0.7%
14Reaching Points
Math
Hard
68
0.3%
15Valid Palindrome
Two Pointers, String
Easy
58
0.5%
16Backspace String Compare
Two Pointers, String, Stack, Simulation
Easy
58
0.5%
17Last Person to Fit in the Bus
Database
Medium
58
0.7%
18Sliding Window Maximum
Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue
Hard
58
0.5%
19Time Needed to Rearrange a Binary String
String, Dynamic Programming, Simulation
Medium
58
0.5%
20Least 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.