•CODING INTERVIEW QUESTIONS
Walmart Coding Interview Questions (DSA)
50 DSA problems sourced from real Walmart interviews
Walmart Coding Interview Questions
| Problem | Difficulty | Tags |
|---|---|---|
| Minimum Absolute Difference | Easy | ArraySorting |
| Medium | ArrayHash TableString | |
| Delete and Earn | Medium | ArrayHash TableDynamic Programming |
| Medium | Depth-First SearchBreadth-First SearchGraph Theory | |
| Medium | ArrayHash TableString | |
| Medium | ArrayDepth-First SearchBreadth-First Search | |
| Advantage Shuffle | Medium | ArrayTwo PointersGreedy |
| Easy | ArrayDynamic Programming | |
| Sort Colors | Medium | ArrayTwo PointersSorting |
| Medium | ArraySortingQuicksort | |
| Zigzag Conversion | Medium | String |
| Move Zeroes | Easy | ArrayTwo Pointers |
| Sliding Window Maximum | Hard | ArrayQueueSliding Window |
| Medium | Depth-First SearchBreadth-First SearchGraph Theory | |
| Medium | ArrayHash TableDivide and Conquer | |
| Max Stack | Hard | Linked ListStackDesign |
| Find the Duplicate Number | Medium | ArrayTwo PointersBinary Search |
| Easy | StringStackBracket Sequences | |
| Easy | ArrayHash Table | |
| Medium | Hash TableStringSliding Window | |
| Medium | Two PointersStringDynamic Programming | |
| Medium | ArrayTwo PointersGreedy | |
| Longest Common Prefix | Easy | ArrayStringTrie |
| Medium | ArrayTwo PointersSorting | |
| Generate Parentheses | Medium | StringDynamic ProgrammingBacktracking |
| Hard | Linked ListDivide and ConquerHeap (Priority Queue) | |
| Reverse Nodes in k-Group | Hard | Linked ListRecursion |
| Medium | ArrayBinary Search | |
| First Missing Positive | Hard | ArrayHash Table |
| Hard | ArrayTwo PointersDynamic Programming | |
| Spiral Matrix | Medium | ArrayMatrixSimulation |
| Add Binary | Easy | MathStringBit Manipulation |
| Minimum Window Substring | Hard | Hash TableStringSliding Window |
| Word Search | Medium | ArrayStringBacktracking |
| Binary Tree Zigzag Level Order Traversal | Medium | TreeBreadth-First SearchBinary Tree |
| Medium | ArrayHash TableUnion-Find | |
| Medium | Hash TableLinked ListDesign | |
| Rotate Array | Medium | ArrayMathTwo Pointers |
| Medium | ArrayDynamic Programming | |
| Kth Largest Element in an Array | Medium | ArrayDivide and ConquerSorting |
| Medium | ArrayDynamic ProgrammingBreadth-First Search | |
| LFU Cache | Hard | Hash TableLinked ListDesign |
| Medium | ArrayStackMonotonic Stack | |
| Pow(x, n) | Medium | MathRecursion |
| Longest Common Subsequence | Medium | StringDynamic ProgrammingLongest Common Subsequence |
| Min Stack | Medium | StackDesign |
| Hard | ArrayBinary SearchDivide and Conquer | |
| Maximum Sum of Distinct Subarrays With Length K | Medium | ArrayHash TableSliding Window |
| Wildcard Matching | Hard | StringDynamic ProgrammingGreedy |
| Flatten Nested List Iterator | Medium | StackTreeDepth-First Search |
Difficulty Breakdown
Top Data Structures & Patterns
Frequently Asked Questions
What questions does Walmart ask in coding interviews?
Walmart coding interviews focus on Array, Backtracking, Binary Search, Binary Tree, and other data structure problems. We compiled 50 questions from real Walmart interviews. The most common topics are Array, Backtracking, Binary Search, Binary Tree, Bit Manipulation. Filter by topic to see what comes up most often.
How many Walmart coding interview questions are there?
InterviewSkool has 50 Walmart coding interview questions: 7 Easy, 33 Medium, and 10 Hard. Most Walmart interviews focus on Medium-difficulty problems, so prioritize those in your prep.
How should I prepare for Walmart coding interviews?
Start with Medium difficulty problems. Group by topic (Array, Tree, DP) to build pattern recognition. Aim to solve 30 to 40 problems before your interview. Then practice under pressure with a mock interview.
Are Walmart coding interview questions free?
Yes. All 50 Walmart coding interview questions are free to browse with no sign-up required. You can filter by difficulty and topic tags. Start a mock interview with a free credit to practice under real pressure.
Practice with a Mock Interview
Simulate real Walmart interview pressure with our AI interviewer.
Start Mock Interview →