'Coding has over 700 languages', '67% of programming jobs aren’t in the technology industry', 'Coding is behind almost everything that is powered by electricity'
Walmart interview experience Real time questions & tips from candidates to crack your interview
SDE - 1
Walmart
upvote
share-icon
5 rounds | 6 Coding problems
Interview preparation journey
expand-icon
Journey
I started my coding journey in the second year of graduation. I asked and consulted seniors on how to start my career. I started doing DSA, and until the end of the second year, practicing DSA questions was not regular, but starting in the seventh semester, I started practicing DSA regularly. Meanwhile, I also learned web development in the last phase of my third year to build my profile in the development field. Then, I think I was ready to apply to different companies.
Application story
My friend texted me about Walmart visiting our campus, I was more than excited about this as Walmart is a well-known organization and I wanted to grab this opportunity with both hands. I enrolled in the program and started to prepare for it with sheer will. I searched for the most important topics that Walmart focus on in interviews and prepared them for the interview rounds which helped me a lot.
Why selected/rejected for the role?
I think I was on point with my coding solutions to the questions asked in the interviews. I provided the optimal solutions, and I gave correct explanations to some theory questions asked. So, I proved myself a perfect fit for their company which is why they selected me.
Preparation
Duration: 12 months
Topics: Data Structures, Aptitude, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Don't stick to a single topic too much. Cover all and prepare short notes for all the topics so it will be easier for revision. 
Tip 2 : Do projects so that they will be an added weightage.
Tip 3 : Practice a minimum of 100 questions on that particular topic so that it will be easy to crack within no time.

Application process
Where: Campus
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Projects add good weight to the resume. So the interviewer asks the questions based on that.
Tip 2 : Resume should be genuine. You have to be confident of whatever is written in your resume

Interview rounds
01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date20 Aug 2020
Coding problem1

The platform was HackerEarth time duration was 1 hour.
1.) 25 MCQs (Both Easy and Gate Level Based) 
2.) 1 Coding Question, that needs to be solved in O(logn) time. Program for Fibonacci numbers. The basic idea behind that question is we need to crack the pattern and then based on constraints we need to solve it.

1. Nth Fibonacci Number
Moderate
40m average time
70% success
0/80
Asked in companies
Hexaware TechnologiesHCL TechnologiesAmazon

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

View more
Problem approach

This problem is a simple recursive problem. But time complexity of simple recursive calls is exponential. In O(long) this problem can be solved using a simple trick.

If n is even then k = n/2:
F(n) = [2*F(k-1) + F(k)]*F(k)

If n is odd then k = (n + 1)/2
F(n) = F(k)*F(k) + F(k-1)*F(k-1)

This method will solve this question in O(long).

Try solving now
02
Round
Medium
Video Call
Duration40 minutes
Interview date21 Aug 2020
Coding problem2

It was a technical round. The platform was Zoom time duration was 40 mins. Started with Tell me something about yourself.
 

1. Similar Strings
Easy
20m average time
80% success
0/40
Asked in companies
CiscoAmazonFlipkart

You are given two strings, ‘A’ and ‘B’ each of length ‘N’. Your task is to print 1 if ‘A’ is similar to ‘B’.

Note :

String ‘A’ is said to be similar to string ‘B’ ...
View more
Problem approach

I solved this problem using this approach.
Let’s define the following operation on string S. We can divide it into two halves and if we want we can swap them. And also, we can recursively apply this operation to both of its halves. By careful observation, we can see that if after applying the operation on some string A, we can obtain B, then after applying the operation on B we can obtain A....

View more
Try solving now
2. General

1. To write a function that will swap two numbers (2 or 3 fixed), i.e. if I got 2, I need to return 3 and vice versa.
2. Write SQL query for a table given by him.
3. Two classes are there Base and Derived where Derived class is inheriting Base class If we create an object of Derived class, and called destructor from it which destructor will be called first.
4. What is the difference be...

View more
03
Round
Medium
Video Call
Duration45
Interview date21 Aug 2020
Coding problem1

The platform was Zoom time duration was 1 hour 45 mins. Started with Tell me something about yourself. I told them, that I like solving algorithms, so she was like let’s start with trees then.

 

1. General Questions

1. Draw a BST with randomly selected 12 values of your choice. Asked what’s the approach I am following while creating it. Write Code and Explain all the traversals for that particular tree. (i.e. Inorder, Preorder, and Postorder)

View more
04
Round
Medium
Video Call
Duration30 minutes
Interview date22 Aug 2020
Coding problem1

This was a Hiring Manager Round. The platform was Zoom time duration was 30 mins. Started with Tell me something about yourself.


 

1. General Questions

1. Why Walmart?
2. How do you fit in for the job?
3. Apart from academics, what are your hobbies?
4. How much do you push yourself for completing a project under its deadline?
5. Questions about projects.
6. What domains have you explored till now?

Problem approach

Be precise

05
Round
Easy
HR Round
Duration20 minutes
Interview date22 Aug 2020
Coding problem1

The platform was Zoom time duration was 20 mins. Asked me to give my introduction.

 

1. General Questions

1. Questions on my hobbies, that I have mentioned while introducing myself.
2. Tell me about your three personality traits, according to your friend’s/colleagues’ perspective.
3. How do you react to a scenario where you as an intern got converted for full time but your close friend working with you got rejected?
4. Location preference? Why are you opting for that specific choice?

Start a Discussion
Similar interview experiences
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Walmart
450 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 8 problems
Interviewed by Walmart
503 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 8 problems
Interviewed by Walmart
1011 views
1 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by Walmart
292 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
92996 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
43175 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
27134 views
6 comments
0 upvotes