Upload Button Icon Add office photos

Walmart

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Walmart Software Developer Interview Questions, Process, and Tips

Updated 28 Feb 2025

Top Walmart Software Developer Interview Questions and Answers

  • Q1. Nth Fibonacci Number Problem Statement Given an integer 'N', the task is to compute the N'th Fibonacci number using matrix exponentiation. Implement and return the Fibon ...read more
  • Q2. Make All Elements of the Array Distinct Given an array/list ARR of integers with size 'N', your task is to determine the minimum number of increments needed to make all ...read more
  • Q3. Encode the Message Problem Statement Given a text message, your task is to return the Run-length Encoding of the given message. Run-length encoding is a fast and simple ...read more
View all 40 questions

Walmart Software Developer Interview Experiences

22 interviews found

I was interviewed before Dec 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

There were 2 coding questions given in this round. One was related to Dynamic Programming and the second one was related to Recursion and Number Theory.

  • Q1. 

    House Robber Problem Statement

    Mr. X is a professional robber with a plan to rob houses arranged in a circular street. Each house has a certain amount of money hidden, separated by a security system that ...

  • Ans. 

    House Robber problem where a robber wants to maximize stolen money without robbing adjacent houses in a circular street.

    • Use dynamic programming to keep track of maximum stolen money at each house.

    • Consider two cases: either rob the current house and skip the next, or skip the current house.

    • Handle circular arrangement by considering the first and last houses separately.

    • Example: For arr[] = {2, 3, 2}, the output is 3. Rob...

  • Answered by AI
  • Q2. 

    Nth Fibonacci Number Problem Statement

    Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2), with initial conditions F(1) = F(2) = 1.

    Input:

    ...
  • Ans. 

    Calculate the Nth Fibonacci number efficiently using dynamic programming.

    • Use dynamic programming to store and reuse previously calculated Fibonacci numbers.

    • Start with base cases F(1) and F(2) as 1, then calculate subsequent Fibonacci numbers.

    • Optimize the solution to avoid redundant calculations by storing intermediate results.

    • Time complexity can be reduced to O(N) using dynamic programming.

    • Example: For N = 5, the 5th F

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Medium

Standard Data Structures and Algorithms round where I was given 2 questions to solve , one was from Linked List and the other was related to Priority Queue / Quick Sort .

  • Q1. 

    Intersection of Linked Lists Problem Statement

    You are provided with two linked lists, L1 and L2, both sorted in ascending order. Generate a new linked list containing elements that exist in both linked l...

  • Ans. 

    Given two sorted linked lists, find the intersection of elements in both lists and return a new sorted linked list.

    • Traverse both linked lists simultaneously to find common elements

    • Create a new linked list to store the intersecting elements

    • Ensure the final linked list is sorted in ascending order

    • Handle cases where there are no common elements between the lists

  • Answered by AI
  • Q2. 

    Kth Largest Element Problem Statement

    Ninja enjoys working with numbers, and Alice challenges him to find the Kth largest value from a given list of numbers.

    Input:

    The first line contains an integer 'T...
  • Ans. 

    Find the Kth largest element in a given list of numbers.

    • Sort the array in descending order.

    • Return the Kth element from the sorted array.

    • Handle multiple test cases efficiently.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Easy

This round majorly focused on Real life appications of Data Structures and also revolved around Object Oriented Programming Style of writing code .

  • Q1. 

    Data Structure with Insert, Delete, and GetRandom Operations

    Design a data structure that supports four operations: insert an element, remove an element, search for an element, and get a random element. E...

  • Ans. 

    Design a data structure with insert, delete, search, and getRandom operations, all in constant time.

    • Use a combination of HashMap and ArrayList to achieve constant time operations.

    • For insert operation, add the element to the ArrayList and store its index in the HashMap.

    • For delete operation, swap the element to be deleted with the last element in the ArrayList, update the index in the HashMap, and then remove the last el...

  • Answered by AI
  • Q2. 

    LRU Cache Design Question

    Design a data structure for a Least Recently Used (LRU) cache that supports the following operations:

    1. get(key) - Return the value of the key if it exists in the cache; otherw...

  • Ans. 

    Design a Least Recently Used (LRU) cache data structure that supports get and put operations with capacity constraint.

    • Implement a doubly linked list to maintain the order of keys based on their recent usage.

    • Use a hashmap to store key-value pairs for quick access.

    • When capacity is reached, evict the least recently used item before inserting a new item.

    • Update the position of a key in the linked list whenever it is accesse

  • Answered by AI
Round 4 - Face to Face 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Medium

This round was inclined towards some Low Level Design Principles and some concepts from Java .

  • Q1. Design a Railway Reservation System.
  • Ans. 

    Design a Railway Reservation System

    • Create a database to store train schedules, seat availability, and passenger information

    • Implement a user interface for users to search for trains, book tickets, and view their reservations

    • Include features like seat selection, payment processing, and ticket confirmation

    • Handle scenarios like waitlisting, cancellations, and refunds

    • Ensure data security and privacy of passenger information

  • Answered by AI
  • Q2. Why is Java considered platform-independent while the Java Virtual Machine (JVM) is platform-dependent?
  • Ans. 

    Java is platform-independent because the code is compiled into bytecode that can run on any platform with a JVM, which is platform-dependent due to its reliance on the underlying hardware and operating system.

    • Java code is compiled into bytecode, which can run on any platform with a JVM.

    • JVM acts as an interpreter that translates bytecode into machine code specific to the underlying hardware and operating system.

    • The JVM ...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAWalmart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Dec 2020.

Round 1 - Face to Face 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Medium

This Round was DS and Algo round and it started with formal introduction, followed by 2 problems. We first dicussed the approach the time complexity and proper code covering all cases.

  • Q1. 

    Minimum Cost to Buy Oranges Problem Statement

    You are given a bag of capacity 'W' kg and a list 'cost' of costs for packets of oranges with different weights. Each element at the i-th position in the list...

  • Ans. 

    Find the minimum cost to buy a specific weight of oranges using given cost list.

    • Iterate through the cost list and find the minimum cost to achieve the desired weight

    • Keep track of the minimum cost while considering available packet weights

    • Return -1 if it is not possible to buy exactly W kg of oranges

  • Answered by AI
  • Q2. 

    K - Sum Path In A Binary Tree

    Given a binary tree where each node contains an integer value, and a value 'K', your task is to find all the paths in the binary tree such that the sum of the node values in ...

  • Ans. 

    Find all paths in a binary tree where the sum of node values equals a given value 'K'.

    • Traverse the binary tree using DFS and keep track of the current path and its sum.

    • At each node, check if the current sum equals 'K' and add the path to the result if true.

    • Continue traversal to the left and right child nodes recursively.

    • Return the list of paths that sum up to 'K'.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 40 Minutes
Round difficulty - Medium

This round majorly focused on puzzles and some questions revolving around Computer Networks and the projects in my resume .

  • Q1. You have two wires of different lengths that take different times to burn. How can you measure a specific amount of time using these two wires?
  • Ans. 

    Use two wires of different lengths to measure a specific amount of time by burning them simultaneously.

    • Burn both wires at the same time, one wire will burn faster than the other.

    • Measure the time it takes for the faster burning wire to completely burn.

    • Calculate the specific amount of time by using the ratio of the lengths of the two wires.

  • Answered by AI
  • Q2. You have 3 ants located at the corners of a triangle. The challenge is to determine the movement pattern of the ants if they all start moving towards each other. What will be the outcome?
Round 3 - HR 

(2 Questions)

Round duration - 30 Minutes
Round difficulty - Easy

This is a cultural fitment testing round .HR was very frank and asked standard questions. Then we discussed about my role.

  • Q1. What do you know about the company?
  • Q2. Why should we hire you?

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAWalmart interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Puzzles, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Find Duplicate in Array Problem Statement You are provided with a ... read more
Contribute & help others!
anonymous
You can choose to be anonymous

Walmart Interview FAQs

How many rounds are there in Walmart Software Developer interview?
Walmart interview process usually has 2-3 rounds. The most common rounds in the Walmart interview process are Coding Test, Technical and Resume Shortlist.
How to prepare for Walmart Software Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Walmart. The most common topics and skills that interviewers at Walmart expect are Business operations, Computer science, Data Structures, GCP and HTML.
What are the top questions asked in Walmart Software Developer interview?

Some of the top questions asked at the Walmart Software Developer interview -

  1. What is popular temple in ur villa...read more
  2. Leetcode - smallest palindrome, Lowest common ances...read more
  3. What is ur strengt...read more
How long is the Walmart Software Developer interview process?

The duration of Walmart Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Recently Viewed

JOBS

Gushwork

14 jobs

JOBS

Browse jobs

Discover jobs you love

JOBS

GroundTruth

33 jobs

PHOTOS

Growisto

7 office photos

SALARIES

Deltra Soft Technologies

SALARIES

Walmart

INTERVIEWS

Walmart

No Interviews

REVIEWS

The George Telegraph Training Institute

No Reviews

JOBS

VIBGYOR Group of Schools

No Jobs

Tell us how to improve this page.

Walmart Software Developer Interview Process

based on 16 interviews

4 Interview rounds

  • Coding Test Round
  • Technical Round
  • HR Round - 1
  • HR Round - 2
View more
Walmart Software Developer Salary
based on 244 salaries
₹12 L/yr - ₹41 L/yr
183% more than the average Software Developer Salary in India
View more details

Walmart Software Developer Reviews and Ratings

based on 34 reviews

4.1/5

Rating in categories

3.7

Skill development

4.0

Work-life balance

3.9

Salary

4.3

Job security

4.0

Company culture

3.5

Promotions

3.6

Work satisfaction

Explore 34 Reviews and Ratings
Software Engineer III
1.8k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
1.3k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
799 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Development Engineer 3
264 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
244 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Walmart with

Amazon

4.1
Compare

Flipkart

4.0
Compare

Microsoft Corporation

4.0
Compare

Google

4.4
Compare
Did you find this page helpful?
Yes No
write
Share an Interview