Walmart | SDE-3 (IN3) | Bangalore | April 2022 [Offer]
- Result
- Offer
- Location
- bangalore
- Posted
- 28 Apr 2022
Summary
I interviewed for an SDE-3 position at Walmart in Bangalore and successfully received an offer after completing four rounds, despite some rescheduling issues with the hiring manager.
How it went
I went through a total of four rounds for the SDE-3 position at Walmart.
The first round was an online assessment conducted on HackerEarth, consisting of 5 Java MCQs and 2 DSA questions. While I don't vividly recall the exact DSA problems, they were related to Dynamic Programming and Strings.
The second round focused heavily on Data Structures/Algorithms and Java. I was asked to solve the 'Longest Substring Without Repeating Characters' problem and the interviewer expected the optimal solution. Additionally, there were numerous Java questions covering basics and multithreading. These included: different ways to create threads and their pros/cons (implementing Runnable vs. extending Thread), the differences between final, finally, and finalize, questions on Private/Final access modifiers, overriding/overloading concepts, String/StringBuilder/StringBuffer, Exceptions, how to create and demonstrate a deadlock using two threads, Daemon Threads and their creation, synchronization techniques, the Singleton pattern with a detailed discussion on double locking, Thread locks, and an in-depth discussion on Garbage Collection and its workings.
The third round was with the Hiring Manager, which unfortunately faced two reschedules due to the HM's unavailability. Eventually, it happened, and mostly behavioral questions (about 5-6) were asked. I also tackled a debugging question: 'If a customer calls and reports that a webpage is not working on your website, how would you debug it?' I provided 10-12 points for this scenario. Questions related to my current work and daily coding time, along with the values I follow in my work, were also discussed.
Finally, the fourth round was a 30-minute HR discussion which was mostly behavioral and informal. We also covered benefits, salary structure, culture, office perks, lunch, and accommodations at Walmart. I received verbal confirmation of the offer during this round.
I received the official offer letter four days later.
Questions asked (12)
- 01
Longest Substring Without Repeating Characters
Data Structures & Algorithms · medium
Open the problemGiven a string
s, find the length of the longest substring without repeating characters. - 02
Java Thread Creation and Management
Other
Discuss the different types of ways to create threads in Java and provide a detailed discussion on the pros and cons of implementing
Runnableversus extendingThread. Additionally, explain Daemon Threads and how to create one. - 03
Java Keywords and Access Modifiers
Other
Explain the usage and differences between
final,finally, andfinalizein Java. Discuss questions onPrivate/Finalaccess modifiers and the concepts of Overriding/Overloading. - 04
String Handling in Java
Other
Discuss the differences and use cases for
String,StringBuilder, andStringBufferin Java. - 05
Java Exceptions
Other
Discuss questions on Exceptions in Java, including their hierarchy and handling mechanisms.
- 06
Deadlock in Java
Other
What is a deadlock? Write a code to create a deadlock using 2 threads.
- 07
Java Synchronization Techniques
Other
Discuss synchronization techniques in Java.
- 08
Singleton Pattern and Double-Checked Locking
Other
Discuss the Singleton pattern and provide a detailed discussion on double-checked locking.
- 09
Thread Locks in Java
Other
Discuss thread locks in Java.
- 10
Java Garbage Collection
Other
Provide a detailed discussion on Garbage Collection and how it works in Java.
- 11
Webpage Debugging Scenario
System Design
If a customer calls and reports that a webpage is not working on your website, how would you debug it?
- 12
Behavioral Questions on Work and Values
Behavioral
Questions related to my current work and how much time I spend in my day doing coding. Also, what values I follow in my work.
How they prepared
My preparation focused heavily on Data Structures and Algorithms, practicing a wide range of problems on platforms like LeetCode. I also dedicated significant time to strengthening my core Java concepts, particularly multithreading, concurrency, and common design patterns such as the Singleton pattern. For behavioral rounds, I prepared by reflecting on my past experiences, anticipating common questions about teamwork, problem-solving, and my professional values, ensuring I could provide structured and concise answers.