Walmart Interview Experience for Summer Internship

Walmart Labs came to BITS Goa for SIP 20-21. The process was a coding round followed by an interview. The coding round consisted of 25 MCQs and 1 coding question.
Round 1:

  1. MCQs were based on Math, DSA, DBMS, OOP, and Probability.
  2. The coding question was:
    • Given a number A, B is the product of all factors of A, C is the product of all prime factors of B, D is the number of factors of C.Find D.

The shortlisted 17 students for the interview.

Round 2: Most interviews lasted for about 20-30 minutes they asked HR questions, basic Math, and DSA questions. Mine and another person’s interview lasted for about 1.5 hrs.

The interviewer asked me 4 questions, they were all puzzles and DSA.



  1. The first was ABCD*4 = DCBA, find ABCD(ABCD is a number ).
  2. Create a hash function for strings(made of lower-case English alphabets) of a fixed length(say n), such that there are no collisions.
  3. Given a function that generates only 2 outcomes say 0 or 1 with equal probability and given a number n, create another function from it such that the new functions generate numbers from 0 to n with equal probability.
  4. Let’s say you have to make a database that removes data from itself after a certain expiration period (say 5 years), how will you implement it?

I tried answering the last question using maps or timestamps, but he did not seem convinced, I required a hint for the 3rd question and was able to solve the first 2 questions on my own.

I asked the interviewer for feedback and what projects are assigned to the interns at Walmart Labs.

While giving the feedback he pointed out all the places where I could’ve improved myself, and because of that I thought that I might not receive an offer, but I did anyway 🙂

Keep going on and don’t get disheartened if you don’t get selected, before this, I was rejected from Microsoft, Cisco, and Flipkart, but I pushed myself and eventually got selected.

Go rock the stage!!


Write your Interview Experience or mail it to contribute@geeksforgeeks.org

My Personal Notes arrow_drop_up

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.