Interview Intel · Walmart Labs

Walmart Labs coding interview
questions, leaked.

122 problems reported across recent Walmart Labs interviews. Top patterns: array, string, hash table. The list below is what most candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Walmart Labs hits you with 122 problems across 67 percent medium difficulty. Arrays dominate the pool (62 problems), followed by strings (32) and hash tables (27). You're looking at a diet of two-pointers, dynamic programming, and design problems like LRU Cache and Max Stack. The good news: most questions test patterns you've seen before. The bad news: you need speed and zero errors under pressure. If you freeze mid-OA on a hash-table variant, StealthCoder runs invisibly and surfaces a working solution in seconds.

Tracked problems
122
Easy
23/ 19%
Medium
82/ 67%
Hard
17/ 14%

Top problems at Walmart Labs

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Longest Substring Without Repeating CharactersMEDIUM
100.0
02LRU CacheMEDIUM
96.3
03Valid ParenthesesEASY
86.5
04Max StackHARD
84.9
05Trapping Rain WaterHARD
81.5
06Merge IntervalsMEDIUM
81.5
07Best Time to Buy and Sell StockEASY
79.5
08Word BreakMEDIUM
77.4
09Two SumEASY
77.4
10Longest Palindromic SubstringMEDIUM
77.4
11Divide Intervals Into Minimum Number of GroupsMEDIUM
77.4
12Generate ParenthesesMEDIUM
75.1
13Minimum Number of Operations to Make Arrays SimilarHARD
75.1
14Count Good Triplets in an ArrayHARD
75.1
15Minimum Operations to Make Array Equal IIMEDIUM
75.1
16Maximum Number of Tasks You Can AssignHARD
75.1
17Middle of the Linked ListEASY
75.1
18Number of Ways to Separate NumbersHARD
75.1
19The Winner UniversityEASY
75.1
20Number of IslandsMEDIUM
72.6
21Search in Rotated Sorted ArrayMEDIUM
72.6
22Group AnagramsMEDIUM
72.6
23Kth Largest Element in an ArrayMEDIUM
72.6
24Spiral MatrixMEDIUM
72.6
25Longest Consecutive SequenceMEDIUM
69.8
26Sort ColorsMEDIUM
69.8
27Coin ChangeMEDIUM
66.5
28Binary Tree Zigzag Level Order TraversalMEDIUM
66.5
29Combination SumMEDIUM
66.5
30Valid SudokuMEDIUM
66.5
31Move ZeroesEASY
66.5
32Pow(x, n)MEDIUM
62.8
333SumMEDIUM
62.8
34Median of Two Sorted ArraysHARD
62.8
35All Nodes Distance K in Binary TreeMEDIUM
62.8
36Degree of an ArrayEASY
62.8
37Rotate ArrayMEDIUM
62.8
38Top K Frequent ElementsMEDIUM
62.8
39Word SearchMEDIUM
58.5
40Flatten Nested List IteratorMEDIUM
58.5
41Daily TemperaturesMEDIUM
58.5
42LFU CacheHARD
58.5
43House RobberMEDIUM
58.5
44Copy List with Random PointerMEDIUM
58.5
45First Missing PositiveHARD
58.5
46Reverse Nodes in k-GroupHARD
58.5
47Add BinaryEASY
58.5
48Merge k Sorted ListsHARD
58.5
49Search a 2D MatrixMEDIUM
58.5
50Longest Common PrefixEASY
58.5

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Walmart Labs OA. The proctor cannot see it. Screen share cannot detect it. Built by an Amazon engineer who used it to pass JPMorgan's OA and system design loop.

Get StealthCoder
Topic distribution
What this means

Array problems are the backbone of this interview. Longest Substring Without Repeating Characters, Trapping Rain Water, and Merge Intervals show Walmart cares about sliding windows, two-pointers, and sorting workflows. Strings come second (32 problems), often paired with dynamic programming or hash tables. Design questions (LRU Cache, Max Stack) test whether you understand data-structure internals, not just algorithm mechanics. Dynamic programming appears 24 times, so expect at least one hard DP problem. The median difficulty is MEDIUM (82 problems), which means breadth beats depth. Drill arrays and strings first, then lock in two-pointers and hash-table patterns. When you hit the live assessment, StealthCoder is your hedge for the one pattern you didn't have time to cover.

Companies with similar patterns

If you prepped for Walmart Labs, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Walmart Labs.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Built by an Amazon engineer who used it to pass JPMorgan's OA and system design loop. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Walmart Labs interview FAQ

How many array problems should I solve before the interview?+

Arrays show up in 62 of 122 problems (51 percent of the pool). Prioritize two-pointer techniques (Trapping Rain Water, Merge Intervals) and sliding-window patterns (Longest Substring Without Repeating Characters). Aim for 15 to 20 array problems, focusing on medium difficulty. You can't cover all 62, so drill the patterns instead.

Is dynamic programming required for Walmart Labs?+

DP appears in 24 problems, including Word Break, Best Time to Buy and Sell Stock, and Longest Palindromic Substring. Most are medium difficulty. You don't need advanced DP (no tree DP or bitmask DP), but memoization and bottom-up thinking are baseline. Study 4 to 6 classic DP problems before the OA.

What should I study first, strings or hash tables?+

Strings (32 problems) edge out hash tables (27), and they're often tested together. Start with Longest Substring Without Repeating Characters and Valid Parentheses to warm up. Hash tables matter more for design problems (LRU Cache). Hit strings first for volume, hash tables second for depth.

Do I need to know design patterns like LRU Cache?+

Yes. LRU Cache and Max Stack are both in the top problems, signaling Walmart tests system design at the medium-hard level. These aren't algorithm problems. You need to understand data-structure tradeoffs and doubly-linked list plus hash-table combos. Budget 3 to 4 hours on design-specific prep.

How do I prepare for the 17 hard problems?+

Hards are 14 percent of the pool (17 of 122). They lean on Trapping Rain Water, Max Stack, Count Good Triplets, and advanced sorting. Don't memorize hard problems. Instead, master the medium patterns so thoroughly that you can adapt them under pressure. If you hit an unfamiliar hard on test day, StealthCoder backs you up.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Walmart Labs. StealthCoder is not affiliated with Walmart Labs.