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

SDE-3

Walmart
upvote
share-icon
5 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months approx
Topics: Data structures and Algorithms(DP and binary trees) JavaSystem Design(Low level design(design patterns) and High Level Design) Spring BootOOPS concepts
Tip
Tip

Tip 1 : practice DSA regularly on leetcode and gfg(in a given time
Tip 2 : read past interview experiences(company specific) on gfg
Tip 3 : prepare a good crisp resume with the necessary information needed for the profile you are applying for

Application process
Where: Referral
Eligibility: 2+ YOE needed
Resume Tip
Resume tip

Tip 1 : keep it short and crisp and related to the job description
Tip 2 : keep all the profile links working

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 mins
Interview date16 Nov 2022
Coding problem2

2 coding problems

1. Candies For Students

Easy
0/40
Asked in companies
WalmartRaceIT Delivery

You are given an array of ‘MARKS’ of students, where ‘marks[i]’ represent the marks of ‘i’th student. You want each student to have a minimum of 1 candy. If two students are sitting next to each other, the one with higher marks should get more candies. Find the minimum number of candies required to distribute to all students.

For Example:
You are given ‘MARKS’ = [7, 10, 9, 5], Here you can distribute candies as [1, 3, 2, 1]. Here all the students with higher marks than the students sitting beside them also have more candies. Hence the answer is 7.
Problem approach

Tip 1:Read question carefully
Tip 2:check the constraints of time and memory, it gives idea of what algorithm to use

Try solving now

2. Maximum Sum Of Nodes

Moderate
30m average time
70% success
0/80
Asked in companies
AmazonGoldman SachsDunzo

You have been given a binary tree with an integer value associated to each node. You are supposed to choose a subset of these nodes such that the sum of these chosen nodes is maximum. Keep in mind that no two of the chosen nodes must be adjacent to each other.

Note :
Two nodes are said to be adjacent to each other if they are directly connected to each other. This means that if a node is taken as part of the sum, then none of its children can be considered for the same and vice versa.
For example :
For the given binary tree

Example

Nodes used in consideration for maximum sum such that no two of them are adjacent are highlighted. Maximum sum of nodes = 1 + 1 + 1 + 4 + 5 = 12.
Problem approach

Tip 1:Practice recursion in trees
Tip 2:know the base condition to end the recursion

Try solving now
02
Round
Medium
Video Call
Duration45 mins
Interview date19 Nov 2022
Coding problem2

1 easy and 1 medium question

1. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

Tip 1: Read gfg on basic dsa topics
 

Try solving now

2. Hotel Floors

Easy
10m average time
90% success
0/40
Asked in companies
WalmartBarclaysInspirisys

You are the receptionist at a hotel which has 10 floors, numbered from 0 to 9 and each floor has 26 rooms named from ‘A’ to ‘Z’. Being a receptionist your task is to handle booking queries.

You get booking queries in the form of strings of size 3 where 1st character is ‘+’ means room is booked, or ‘-’ means room is freed. Second character represents the floor of the room i.e, ‘0’ to ‘9’. Third character represents the room name i.e, ‘A’ to ‘Z’.

On booking of each room you collect 1 coin from the customer. After the end of all the booking queries you have to count the number of coins you collected.

You may assume that the list describes a correct sequence of bookings in chronological order i.e., only free rooms can be booked, and only booked rooms can be freed.

For Example:-

Consider booking queries to be ["+1A", "+3E", "-1A", "+4F", "+1A", "-3E"]
+1A: Room A on the 1st floor is booked and you collected 1 coin.
+3E: Room E on the 3rd floor is booked and you collected 1 coin.
-1A: Room A on the 1st floor is freed.
+4F: Room F on the 4th floor is booked and you collected 1 coin.
+1A: Room A on the 1st floor is booked and you collected 1 coin.
-3E: Room E on the 3rd floor is freed.
So you collected 4 coins.
Problem approach

Tip 1:practice dp well 
Tip 2:identify the dp states first to write the dp relationship between the states

Try solving now
03
Round
Medium
Video Call
Duration60 mins
Interview date19 Nov 2022
Coding problem1

Deaign a metro station ticket booking system with all the model classes for user, metro, source, destination, payments along with db schema design and relationship between them. 
Interviewer was helpful and answered all questions asked for clarification.

1. Design Question

Deaign a metro station ticket booking system with all the model classes for user, metro, source, destination, payments along with db schema design and relationship between them.

Problem approach

Tip 1: ask as many questions as possible in design rounds
Tip 2: make sure to follow design patterns and solid principles
 

04
Round
Easy
Video Call
Duration45 mins
Interview date22 Nov 2022
Coding problem1

Hiring manager round

1. HR Question

Any challenging tasks performed in previous organization

Problem approach

Tip 1 : only write those topics in your resume which you can speak on
 

05
Round
Easy
HR Round
Duration45 mins
Interview date23 Dec 2022
Coding problem1

HR Round

1. Basic HR Questions

HR discussion around company work culture and team of walmart

Problem approach

Tip 1: talk professionally
 

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
Database Administrator
4 rounds | 8 problems
Interviewed by Walmart
1168 views
1 comments
0 upvotes
company logo
SDE-3
3 rounds | 3 problems
Interviewed by Walmart
2384 views
0 comments
0 upvotes
company logo
SDE-3
5 rounds | 7 problems
Interviewed by Walmart
3114 views
0 comments
0 upvotes
company logo
SDE-3
3 rounds | 4 problems
Interviewed by Walmart
1163 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE-3
4 rounds | 5 problems
Interviewed by Ola
1360 views
0 comments
0 upvotes
company logo
SDE-3
3 rounds | 3 problems
Interviewed by Oracle
0 views
0 comments
0 upvotes
company logo
SDE-3
3 rounds | 6 problems
Interviewed by Ola
1235 views
0 comments
0 upvotes