Walmart interview experience Real time questions & tips from candidates to crack your interview

SDE - Intern

Walmart
upvote
share-icon
4 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1.5 months
Topics: OOPS, Compiler Design, Operating System, Computer Networks and DBMS
Tip
Tip

Tip 1 : Be clear with the basics
Tip 2 : Be familiar with design patterns and system design problems
Tip 3 : Be thorough with the skills mentioned in your resume

Application process
Where: Company Website
Eligibility: 70 percent or above in B.Tech, Class X and XII and No backlogs at the time of interview
Resume Tip
Resume tip

Tip 1: Don't lie on your resume
Tip 2: You should be thorough with whatever skill in mentioned on your resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 Minutes
Interview date1 Aug 2022
Coding problem2

Programming, little aptitude and Core subjects’ MCQs (Compiler Design, Operating System, Computer Networks and DBMS)

1. Balanced parentheses

Moderate
10m average time
90% success
0/80
Asked in companies
SalesforceAmazonMicrosoft

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

This was a function problem. We need to complete the function ispar() that takes a string as a parameter and returns a boolean value true if brackets are balanced else returns false. The printing is done automatically by the driver code.

Try solving now

2. K Largest Element

Moderate
10m average time
90% success
0/80
Asked in companies
AmazonWalmartPayPal

You are given an unsorted array containing ‘N’ integers. You need to find ‘K’ largest elements from the given array. Also, you need to return the elements in non-decreasing order.

Problem approach

Completed the function kLargest() that takes the array, N and K as input parameters and returns a list of k largest element in descending order.

Try solving now
02
Round
Easy
Online Coding Test
Duration60 Minutes
Interview date15 Aug 2022
Coding problem2
Moderate
20m average time
80% success
0/80
Asked in companies
HCL TechnologiesAmazonOracle

You are given an ‘M*N’ Matrix, You need to print all possible paths from its top left corner to the bottom right corner if given that you can either move right i.e from (i,j) to (i,j+1) or down i.e from (i, j) to (i+1, j).

For Example :
1 2 3
4 5 6

For the above 2*3 matrix , possible paths are (1 2 3 6) , (1 2 5 6) , (1 4 5 6).
Note :
You can return the paths in any order.
Problem approach

Completed the function numberOfPaths() which takes m and n as input parameter and returns count all the possible paths.
The answer was very large, so computed the answer modulo 10^9 + 7.

Try solving now

2. Word Break

Moderate
15m average time
85% success
0/80
Asked in companies
Morgan StanleyMakeMyTripIBM

You are given a list of “N” strings A. Your task is to check whether you can form a given target string using a combination of one or more strings of A.

Note :
You can use any string of A multiple times.
Examples :
A =[“coding”, ”ninjas”, “is”, “awesome”]  target = “codingninjas”
Ans = true as we use “coding” and “ninjas” to form “codingninjas”
Problem approach

Completed wordBreak() function which takes a string and list of strings as a parameter and returns 1 if it is possible to break words, else return 0.
No need to read any input or print any output as it was done by driver code.

Try solving now
03
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date16 Aug 2022
Coding problem1

1. Min Jumps

Easy
15m average time
85% success
0/40
Asked in companies
AckoHSBCIBM

You live in a Ninja town which is in the form of a N * M grid. In this town, people travel from one place to another by jumping over the buildings which are present in each cell of the grid. It is Christmas eve, and Santa wants to give gifts and chocolates to the kids who live in the building which is present at the cell (N - 1, M - 1). Initially, Santa is present on cell (0, 0). Since Santa is in a hurry, help him find a path from starting point to the endpoint with the least amount of time.

The Santa may go only from one building to any of its adjacent buildings which is present either to the right or to the bottom or bottom right cell i.e. if the current position is (x, y), he may go to (x + 1, y + 1) or (x + 1, y) or (x, y + 1) given that the new coordinates are in the grid. The time taken to reach from one building to another is equal to the absolute difference between the heights of buildings.

Note:

1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.
Problem approach

No need to read input or print anything. Your task is to complete function minJumps() which takes the array arr and it's size N as input parameters and returns the minimum number of jumps. If not possible returned -1.

Try solving now
04
Round
Easy
HR Round
Duration30 minutes
Interview date15 Sep 2022
Coding problem1

Face to Face interview

1. Basic HR Question

Where do you see yourself after 5 years?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Walmart
1951 views
0 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 4 problems
Interviewed by Walmart
2992 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Walmart
1254 views
1 comments
0 upvotes
company logo
SDE - Intern
3 rounds | 3 problems
Interviewed by Walmart
1866 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - Intern
3 rounds | 6 problems
Interviewed by Amazon
15605 views
4 comments
0 upvotes
company logo
SDE - Intern
4 rounds | 7 problems
Interviewed by Microsoft
15499 views
1 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 4 problems
Interviewed by Amazon
10216 views
2 comments
0 upvotes