Walmart Coding Interview Questions: 8 Tagged Problems
8 coding problems tagged Walmart — 8 medium — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 8
- By difficulty: 8 medium
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
8 problems the CodeKairo catalogue tags as commonly asked in Walmart's coding rounds — 8 medium, no hard ones — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (6), Matrix (3) and Hash Table (2). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Walmart, which CodeKairo is not affiliated with.
Walmart study plan by topic
All 8 problems tagged Walmart, about 4 h 40 min of solving, grouped by technique in the order they build on each other — Counting, Two Pointers, Sliding Window and Binary Search and 3 more.
The plan
8 problems on Counting, Two Pointers, Sliding Window, Binary Search, Simulation, Greedy and Depth-First Search, easiest first within each topic.
- Number of Pairs of Interchangeable Rectangles Medium
- Partition Array Such That Maximum Difference Is K Medium
- Minimum Swaps to Group All 1's Together II Medium
- Most Beautiful Item for Each Query Medium
- Diagonal Traverse Medium
- Equal Row and Column Pairs Medium
- Minimum Moves to Reach Target Score Medium
- Find All Groups of Farmland Medium
All problems tagged Walmart
Medium (8)
- Most Beautiful Item for Each Query Array, Binary Search, Sorting
- Find All Groups of Farmland Array, Matrix, Depth-First Search
- Minimum Swaps to Group All 1's Together II Array, Sliding Window
- Partition Array Such That Maximum Difference Is K Array, Greedy, Sorting
- Minimum Moves to Reach Target Score Math, Greedy
- Equal Row and Column Pairs Hash Table, Matrix, Simulation
- Number of Pairs of Interchangeable Rectangles Array, Hash Table, Math
- Diagonal Traverse Array, Matrix, Simulation
Topics Walmart asks most
- Arrays 6 problems
- Matrix 3 problems
- Hash Table 2 problems
- Math 2 problems
- Sorting 2 problems
- Simulation 2 problems
- Greedy 2 problems
- Counting 1 problem
- Two Pointers 1 problem
- Sliding Window 1 problem
- Binary Search 1 problem
- Breadth-First Search 1 problem