Walmart interview questions

676 questions from 76 candidate reports · 2014 to 2025

Online test → Technical → Technical → Managerial → HR

CS fundamentals

Showing 20 of 396 reported in this area

Explain the difference between '==' operator and '.equals()' method in Java.
asked 3×easyPractice this →
Explain garbage collection in Java.
asked 2×mediumPractice this →
Write an SQL query for a given table.
asked 2×mediumPractice this →
Explain the memory layout of a C program.
asked 2×mediumPractice this →
Explain the internal working of HashMap in Java
asked 2×mediumPractice this →
What happens when you type a URL in your browser?
asked 2×mediumPractice this →
Write an SQL query to transpose a matrix.
asked 2×hardPractice this →
Explain cross join in DBMS.
asked 2×easyPractice this →
What is the relational model in DBMS?
asked 2×easyPractice this →
Explain the difference between JDK and JRE.
asked 2×easyPractice this →
What are the differences between C and Java?
asked 2×easyPractice this →
What are checked and unchecked exceptions in Java?
asked 2×easyPractice this →
What is the difference between a process and a thread?
asked 2×easyPractice this →
Define Object-Oriented Programming System (OOPS) concepts.
asked 2×easyPractice this →
Explain the difference between Call by Value and Call by Reference
asked 2×easyPractice this →
In C++, if a Derived class inherits from a Base class, and an object of Derived is destroyed, which destructor is called first?
asked 2×easyPractice this →
Explain file operations in C++.
asked oncemediumPractice this →
How is memory allocated in C++?
asked oncemediumPractice this →
How is data stored inside a DBMS?
asked oncemediumPractice this →
Why are there no pointers in Java?
asked oncemediumPractice this →

DSA

Showing 29 of 371 reported in this area

Print the bottom view of a binary tree.
asked 3×mediumPractice this →
Generate all permutations of a given string.
asked 3×mediumPractice this →
Perform spiral order traversal of a binary tree.
asked 3×mediumPractice this →
Detect a loop in a linked list.
asked 3×easyPractice this →
Reverse a linked list in groups of size k
asked 2×mediumPractice this →
Generate all possible permutations of a string.
asked 2×mediumPractice this →
Count the number of inversions in an array in less than O(n^2) time complexity.
asked 2×mediumPractice this →
Check whether two strings are equivalent when one is an abbreviation of the other (case-insensitive), e.g., Internationalization and I18n.
asked 2×mediumPractice this →
Find the maximum sum submatrix in a given matrix.
asked 2×hardPractice this →
Reverse a linked list
asked 2×easyPractice this →
Reverse a singly linked list.
asked 2×easyPractice this →
Reverse the words in a given string.
asked 2×easyPractice this →
Check whether a linked list is a palindrome.
asked 2×easyPractice this →
Check whether two given strings are anagrams.
asked 2×easyPractice this →
Search for a given key in a Binary Search Tree.
asked 2×easyPractice this →
Print Pascal’s Triangle for a given number of rows.
asked 2×easyPractice this →
Find the maximum repeating (maximum occurring) number in an array
asked 2×easyPractice this →
How do you insert and delete an element from a doubly linked list?
asked 2×easyPractice this →
Write a program to find all prime numbers between two given numbers.
asked 2×easyPractice this →
Detect a loop in a linked list and return the starting node of the loop
asked 2×easyPractice this →
Find the length of the subarray with the longest consecutive 1s in a binary array
asked 2×easyPractice this →
Find the second largest element in an array in a single iteration without using extra space
asked 2×easyPractice this →
Write code and explain inorder, preorder, and postorder traversals of a Binary Search Tree.
asked 2×easyPractice this →
Flatten a linked list
asked oncemediumPractice this →
Clone an undirected graph.
asked oncemediumPractice this →
Build a tree data structure
asked oncemediumPractice this →
Solve problems on Binary Trees
asked oncemediumPractice this →
Swap K nodes in a linked list.
asked oncemediumPractice this →
Spiral traversal of a binary tree
asked oncemediumPractice this →

System design

Showing 3 of 34 reported in this area

Design an elevator system.
asked oncemediumPractice this →
Design a URL Shortener service
asked oncemediumPractice this →
Design a URL shortening system.
asked oncemediumPractice this →

Behavioural

Showing 3 of 30 reported in this area

Describe one of the toughest decisions you have taken in your life.
asked oncemediumPractice this →
How would you resolve conflicts when teammates do not agree on something?
asked oncemediumPractice this →
How would you react if you were converted from intern to full-time but a close friend working with you was rejected?
asked oncemediumPractice this →

Puzzles

Showing 3 of 23 reported in this area

Three bulbs and three switches puzzle.
asked oncemediumPractice this →
A mathematical puzzle related to time and velocity concepts.
asked oncemediumPractice this →
Solve the puzzle: ABCD × 4 = DCBA, where ABCD is a 4-digit number.
asked oncemediumPractice this →

Aptitude

Showing 2 of 5 reported in this area

Solve aptitude questions based on percentage, profit and loss, and probability.
asked onceeasyPractice this →
Given a range of integers, find all prime numbers in that range and determine which digit occurs the maximum number of times across all those prime numbers.
asked onceeasyPractice this →

Showing 60 of 676 questions. Ranked by how often the same question came back across reports.

Practise a Walmart-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Walmart ask?

Candidate interview reports most often cover CS fundamentals (46%) and DSA (43%).

How many rounds does Walmart interview have?

Candidate interview reports show an average of 3.8 rounds per experience, with a typical sequence of Online test → Technical → Technical → Managerial → HR. Individual interview paths can vary.

Is the Walmart interview hard?

Among questions with a reported difficulty, the mix is easy 37%, medium 55%, hard 8%.

Keep reading