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

SDE-3

Walmart
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 Months
Topics: Data Structures, High level system design, Low level system design, basics of java 8, OOPS
Tip
Tip

Tip 1 : solve easy to medium questions on leetcode until you're able to identify the approach that can be taken to solve a problem with a glance
Tip 2 : study educative.io grokking the design interview course 
Tip 3 : keep revising on basics of your language of choice

Application process
Where: Other
Eligibility: no
Resume Tip
Resume tip

Tip 1 : Keep it short and highlight the important words, like technologies used, one words that describe the functionality of the project. Do not let your resume cross 2 pages in any scenario
Tip 2 : Show company specific details first in your resume. Don't think like one resume fits all positions. Study the JD and tailor your resume accordingly

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date7 Feb 2022
Coding problem1

Timing: afternoon
Environment: virtual
Any other significant activity: NA
How was the interviewer: Composed and helpful

1. Most Frequent Element

Easy
0/40
Asked in companies
SAP LabsOLX GroupWalmart

Given an alphabetical string ‘S’. Return the most frequent character of ‘S’. If there are multiple characters with the same frequency equal to the maximal frequency, return the lexicographically smallest character with maximal frequency.

For example:
‘S’ = brutegroot
The most frequent characters are [o, r, t]. All of these characters appear 2 times each.
As among all the options, ‘o’ is lexicographically smallest. So the answer is ‘o’.
Hence output will be o.
Problem approach

Step 1. counted the occurrence of each of the element in the array and stored it in a map, then went through the map to find the number that occured the max number of occurrences, and then checked if this is greater than size(array)/2. Interviewer wanted optimization
Step 2. mainted a counter to increment if the current number is equal to the previos number in array, otherwise decrement. This gave me the max number of times a number occurred in the array, and then checked if this value is greater than size(array)/2

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date14 Mar 2022
Coding problem1

1. Justify Text

Hard
35m average time
50% success
0/120
Asked in companies
AdobeWalmartUber

Given a sentence(in the form of an array of words), and an integer ‘L’, return an array of strings i.e a paragraph such that each line has exactly ‘L’ characters, and is left and right justified.

Justification of text means that space is added between words so that both edges of each line are aligned with both margins. The last line in the paragraph is aligned left.

One needs to add the maximum number of words in a line such that the number of lines is minimised.

We can add whitespaces in a line so that each line has exactly the same number of characters i.e L.

If the number of spaces on a line does not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right.

For the last line of text, it should be left justified and no extra space is inserted between words.

For example:
Let the given sentence be: [ “what”, “must”, “be”, “shall”, “be.”]
And L=12.

The justified output will be :

[ “what must be”
“Shall be.”       ]

Note that the last line is only left justified.
Try solving now
03
Round
Easy
Video Call
Duration60 Minutes
Interview date21 Mar 2022
Coding problem1

1. System Design Question

Interviewer asked me to give a system design of the latest project that I worked on and the different use cases that were covered in this

Problem approach

Tip 1 : Study your resume thoroughly

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
Database Administrator
4 rounds | 8 problems
Interviewed by Walmart
1193 views
1 comments
0 upvotes
company logo
SDE-3
5 rounds | 7 problems
Interviewed by Walmart
3769 views
1 comments
0 upvotes
company logo
SDE-3
5 rounds | 7 problems
Interviewed by Walmart
3173 views
0 comments
0 upvotes
company logo
SDE-3
3 rounds | 4 problems
Interviewed by Walmart
1225 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE-3
4 rounds | 5 problems
Interviewed by Ola
1405 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
1268 views
0 comments
0 upvotes