0 like 0 dislike
1,176 views
| 1,176 views

0 like 0 dislike

Walmart conducted an off-campus drive in June 2021 on D2C platform.

Round 1(MCQ Challenge): To test basic computer fundamentals. The quiz had 30 questions to be attempted in 25 minutes consisting of questions related to Data structures and algorithms, OOPS, OS, DBMS, and some questions to find the output of the Java Program.

Round 2(Coding Challenge):  90 minutes is what we get to present a logical coding solution to the challenge presented to us. I got the following questions:

1. Given an array of N integers. In one operation, you can pick a subarray of size K and add 1 to every element of that subarray. You can do almost P such operations. The task is to maximize the minimum element present in the array after performing P such operations. For eg. N=5,K=2,P=4 and array is [5,4,3,2,1] then its answer is 4. You can see this post: https://stackoverflow.com/questions/47264559/maximize-the-minimum-element
2. Given a string of 2N length consisting of only As and Bs. You can perform the following operation N times: choose two indices i,j (i<j) in the string and then change all the characters between them i.e change A to B and vice versa. Find the number of ways to make the string containing only As in the end. For eg. N=2, string = “BAAB” then number of ways to convert string to AAAA is 4.

Then, there was a profile verification round where shortlisted candidates were required to submit additional information for the verification process.

Then almost after one month I got a call for interview rounds. There were 3 interview rounds – 2 technical and 1 HR which all were conducted on the same day and final results were announced within 1 working day. All the interview rounds were conducted on the Zoom platform.

Round 3(Technical Round 1, Platform: Zoom): The time duration for this round was 40 min. Started with Tell me something about yourself.

1. Tell me about the projects you have worked on.
2. Find the maximum occurring number in as array. https://www.geeksforgeeks.org/find-the-maximum-repeating-number-in-ok-time/
3. Exception handling in C++ in detail.
4. What do mean by OOPS.
5. What is inheritance.
6. Create a database to store the information of employees and their salaries (just explain).
7. What are insertion, deletion and updation anomalies in DBMS. https://www.geeksforgeeks.org/anomalies-in-relational-model/
8. Find the equilibrium index of an array. https://www.geeksforgeeks.org/equilibrium-index-of-an-array/
9. Whats polymorphism -> compile and runtime.
10. Write code to show run time polymorphism. https://www.geeksforgeeks.org/polymorphism-in-c/

Round 4(Technical Round 2, Platform: Zoom): The time duration for this round was 30 min

1. Tell me about yourself and projects you have worked on.
2. What’s polymorphism.
3. What are exceptions in Java – Since my primary language was C++, so I explained exception in C++ only.
4. What are collections in Java – list, map, set.
5. Find the maximum occurring number in as array. (yes I got the same que in previous round too)
6. Whats binary search – only explain.
7. Name all the sorting algorithm you have studied and which algorithm to be used for larger inputs.
8. Write a SQL query to print the highest salary in each department.

Round 5(HR Round, Platform Zoom):