Walmart Coding Interview Questions: 12 Tagged Problems
12 coding problems tagged Walmart — 11 medium · 1 hard — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 12
- By difficulty: 11 medium · 1 hard
- 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
12 problems the CodeKairo catalogue tags as commonly asked in Walmart's coding rounds — 11 medium and 1 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (8), Hash Table (5) and Sorting (3). 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 12 problems tagged Walmart, about 7 h 15 min of solving, grouped by technique in the order they build on each other — Counting, Two Pointers, Sliding Window and Binary Search and 4 more.
The plan
12 problems on Counting, Two Pointers, Sliding Window, Binary Search, Simulation, Greedy, Trees and Breadth-First Search, easiest first within each topic.
- Number of Pairs of Interchangeable Rectangles Medium
- Subdomain Visit Count 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
- Minimum Number of Operations to Make Arrays Similar Hard
- Top View of Binary Tree Medium
- Bottom View of Binary Tree Medium
- Find All Groups of Farmland Medium
All problems tagged Walmart
Medium (11)
- Bottom View of Binary Tree Tree, Breadth-First Search, Hash Table
- Top View of Binary Tree Tree, Breadth-First Search, Hash Table
- Subdomain Visit Count Array, Hash Table, String
- 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
Hard (1)
- Minimum Number of Operations to Make Arrays Similar Array, Greedy, Sorting
Topics Walmart asks most
- Arrays 8 problems
- Hash Table 5 problems
- Sorting 3 problems
- Matrix 3 problems
- Greedy 3 problems
- Breadth-First Search 3 problems
- Counting 2 problems
- Math 2 problems
- Simulation 2 problems
- Trees 2 problems
- Strings 1 problem
- Two Pointers 1 problem