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

Software Engineer

Walmart
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Starting as in undergrad, I dove into coding and problem-solving. Coding platforms helped me improve, while hackathons taught me teamwork and adaptability. At MakeAR.ai, I explored Web AR/VR, embracing new technology. Perseverance and learning drove my progress, hopefully inspiring others in tech.
Application story
I applied through CodeHers, which was conducted on Unstop. First, there was an MCQ round consisting of 30 questions. This was followed by a coding round with 2 medium-level questions. After being shortlisted, there were three interview rounds: the first and second were technical interviews, and the third was an HR round.
Why selected/rejected for the role?
I was rejected in the HR round, which was the final round because I could not explain my role in a project, and perhaps they thought I didn't clearly understand the project.
Preparation
Duration: 6 months
Topics: OOPS, Java, C++, DBMS, Problem Solving, Data Structure, Algorithms
Tip
Tip

Tip 1: Consistency
Tip 2: Dedication
Tip 3: Hard work

Application process
Where: Other
Eligibility: pursuing Bachelor's degree and only female candidates were allowed
Resume Tip
Resume tip

Tip 1: Work on projects that address social causes.

Tip 2: Maintain a balance between software development and data structures and algorithms (DSA) proficiency.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration30 minutes
Interview date11 Sep 2022
Coding problem1

MCQ - 30 mins

1. MCQ Questions

MCQ - 30 mins

02
Round
Medium
Online Coding Interview
Duration240 minutes
Interview date10 Oct 2022
Coding problem2

The coding round consists of two coding questions.

1. Find the second shortest path in a graph using MST.

Moderate
25m average time
70% success
0/80
Asked in companies
AmazonMicrosoftGoldman Sachs

The city of Ninjaland is analogous to the unweighted graph. The city has ‘N’ houses numbered from 1 to ‘N’ respectively and are connected by M bidirectional roads. If a road is connecting two houses ‘X’ and ‘Y’ which means you can go from ‘X’ to ‘Y’ or ‘Y’ to ‘X’. It is guaranteed that you can reach any house from any other house via some combination of roads. Two houses are directly connected by at max one road.

A path between house ‘S’ to house ‘T’ is defined as a sequence of vertices from ‘S’ to ‘T’. Where starting house is ‘S’ and the ending house is ‘T’ and there is a road connecting two consecutive houses. Basically, the path looks like this: (S , h1 , h2 , h3 , ... T). you have to find the shortest path from ‘S’ to ‘T’.

For example
In the below map of Ninjaland let say you want to go from S=1 to T=8, the shortest path is (1, 3, 8). You can also go from S=1 to T=8  via (1, 2, 5, 8)  or (1, 4, 6, 7, 8) but these paths are not shortest.

altImage

Problem approach

Find the MST.
Identify the shortest edge not included in the MST.
Remove the longest edge from the MST.
Find the shortest path between the endpoints of the removed edge.
Combine the shortest path with the removed edge to get the second shortest path.

Try solving now

2. Longest Increasing Subsequence

Moderate
0/80
Asked in companies
GrabAmazonSamsung

Given an array of integers, find the length of the longest increasing subsequence using dynamic programming.

Problem approach

Problem Definition: Given an array of integers, we aim to find the length of the longest increasing subsequence.

Dynamic Programming State: Define a dynamic programming state, dp[i], where dp[i] represents the length of the longest increasing subsequence ending at index i.

Recurrence Relation: Iterate over all indices j before i and check if nums[i] > nums[j]. If it is, extend the longest increasing subsequence ending at index j by including nums[i]. Update dp[i] as max(dp[j] + 1, dp[i]).

Base Case: Initialize the dp array with all elements set to 1, as the minimum length of any subsequence is 1.

Build DP Table: Iterate over the array and compute the dp array using the recurrence relation defined in step 3.

Find Maximum Length: Once the dp array is built, the length of the longest increasing subsequence will be the maximum value in the dp array.

Return Result: Return the maximum value found in the dp array, which represents the length of the longest increasing subsequence.

Try solving now
03
Round
Easy
Video Call
Duration30 minutes
Interview date19 Oct 2023
Coding problem1

My interview round focused on assessing my proficiency in data structures, emphasizing problem-solving skills with arrays, linked lists, trees, and graphs. It challenged my algorithmic thinking and ability to optimize solutions.

1. Is it a Circular Linked List?

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftSAP LabsSamsung R&D Institute

find if the linked list is circular or not.

Problem approach

Tip 1: Give the brute force approach
Tip 2: Solve all the corner cases 
Tip 3: Optimised the solution

Try solving now

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
Software Engineer
2 rounds | 4 problems
Interviewed by Walmart
1877 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 4 problems
Interviewed by Walmart
3264 views
2 comments
0 upvotes
company logo
Software Engineer
4 rounds | 7 problems
Interviewed by Walmart
1205 views
0 comments
0 upvotes
company logo
Software Engineer
2 rounds | 2 problems
Interviewed by Walmart
686 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes