Walmart Labs Interview Experience – Set 1

Company : Walmart Labs
Interview Type : Campus Placement

Round 1 (Written Test) :

It was an online test of 90 minutes and was conducted on Hackerearth. It consisted of 10 MCQ’s and 2 coding questions. MCQ’s consisted of general aptitude questions, questions related to networking, programming etc and very easy.

Coding Questions:

Q1. Given arrival and departure time of employees in an office. Find the maximum no of chairs needed so that at no instance, an employee has to stand.

Q2. Once upon time there was a cute princess called Farida living in a castle with her father, mother and uncle. On the way to the castle there lived many monsters. Each one of them had some gold coins. Although they are monsters they will not hurt. Instead they will give you the gold coins, but if and only if you didn’t take any coins from the monster directly before the current one. To marry princess Farida you have to pass all the monsters and collect as many coins as possible. Given the number of gold coins each monster has, calculate the maximum number of coins you can collect on your way to the castle.


The first line of input contains the number of test cases. Each test case starts with a number N, the number of monsters, 0 <= N <= 10^4. The next line will have N numbers, number of coins each monster has, 0 <= The number of coins with each monster <= 10^9. Monsters described in the order they are encountered on the way to the castle.


For each test case print “Case C: X” without quotes. C is the case number, starting with 1. X is the maximum number of coins you can collect.

Round 2:

Q1. Design,develop and implement an OrderGenerating System in distributed servers.
1) No database should be used.
2) The orderID generated should be unique among all servers.

Lots of discussion on various approaches.

Q2. Given a character array and a dictionary, find the no. of valid sentences that can be made by putting space after any character in this array. A valid sentence is the one whose all the words are present in the dictionary. Write code on paper.
Input- crazyforcode

Round 3:

Q1. Check if Binary Tree is BST or not?

Q2. Details about projects in CV.Explanation in detail?

Round 4 (HR Round):

It was also a short round of nearly 5-10 minutes. HR asked me to introduce myself. Asked me about my hobbies.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation