walmart logo
Walmart· sde iii

Walmart | SDE III | Bangalore | Interview Experience

Result
Offer
Location
bangalore
Experience
2.6 years
Posted
12 Feb 2025
363 reads

Summary

I successfully navigated a four-round interview process for the SDE III role at Walmart in Bangalore, ultimately receiving an offer after 20 days. The experience covered DSA, Core Java, Hiring Manager discussions, and HR interactions.

How it went

I applied for the SDE III role at Walmart in Bangalore through a referral. My profile included a B.Tech from a Tier 1 college and 2.6 years of experience.

Round 1: Data Structures & Algorithms (DSA)

This round focused on coding. I was asked to find an element in a reverse sorted array, which I solved using binary search. The follow-up involved handling duplicate elements, and while I proposed some approaches, I couldn't implement an optimized solution on the spot. The second question was Course Schedule I, which I successfully solved using topological sort.

Round 2: Core Java

This round delved deep into Java concepts. I explained singleton classes, their real-life use cases, and wrote the code. We discussed keywords like final, static, and transient, though I wasn't familiar with transient at the time. I explained how to make a class immutable, error handling (checked vs. unchecked exceptions), and the nuances of empty catch blocks and their use in static methods (where I admit making a silly mistake). Deadlocks, their explanation, and prevention were also covered. A multithreading problem involved writing code to increment an attribute by two threads until it reached 5000. Further questions included AtomicInteger, the String pool, thread join, thread pool concepts, and the difference between Hashtable and ConcurrentHashMap. I was more prepared for HashMap vs. Hashtable and missed this specific difference. The interviewer was very supportive throughout.

Round 3: Hiring Manager (HM) Interview

This round, scheduled for an hour, concluded in 30 minutes. It started with questions related to my resume and a discussion on my current project. We touched upon threading and heap dump-related questions. A key discussion point was API optimization: how to optimize an API that makes multiple API calls, checks a cache, and finally queries the database. The behavioral question was about why I wanted to leave my current company. The round didn't go exactly as I had prepared for different topics, but the hiring manager was very chill, and fortunately, I received positive feedback.

Round 4: HR Interview

This round consisted of general behavioral questions. There was no discussion about compensation at this stage.

Outcome

I received the offer letter after 20 days. The offer was a bit low since I didn’t have any other competing offers, but I accepted it, though I plan to explore other opportunities.

Questions asked (14)

  1. 01

    Find Element in Reverse Sorted Array

    Data Structures & Algorithms

    Given a reverse sorted array, find a specific element. Follow-up: Handling duplicate elements.

  2. 02

    Course Schedule I

    Data Structures & Algorithms · Medium

    The standard 'Course Schedule I' problem from LeetCode.

  3. 03

    Singleton Class Implementation and Use Cases

    Other

    Explain singleton classes, their real-life use cases, and provide code implementation.

  4. 04

    Java Keywords: final, static, transient

    Other

    Explain the purpose and usage of final, static, and transient keywords in Java.

  5. 05

    How to Make a Class Immutable in Java

    Other

    Describe the steps and principles to make a class immutable in Java.

  6. 06

    Java Exception Handling: Checked vs. Unchecked

    Other

    Discuss Java error handling, specifically the difference between checked and unchecked exceptions.

  7. 07

    Empty Catch Blocks and Static Methods in Java

    Other

    Discuss whether a catch block can be left empty and if exception handling can be used within a static method.

  8. 08

    Deadlocks: Explanation and Prevention

    Other

    Explain what deadlocks are in concurrent programming and discuss methods to prevent them.

  9. 09

    Multithreaded Counter Increment

    Other

    Write code for a multithreaded scenario where an attribute needs to be incremented by two threads until its value reaches 5000.

  10. 10

    AtomicInteger and String Pool in Java

    Other

    Explain AtomicInteger and the concept of the String pool in Java.

  11. 11

    Thread Join and Thread Pool Concepts

    Other

    Discuss Thread.join() and thread pool concepts in Java multithreading.

  12. 12

    Hashtable vs. ConcurrentHashMap

    Other

    Explain the differences between Hashtable and ConcurrentHashMap in Java.

  13. 13

    API Optimization with Multiple Calls, Cache, and DB

    System Design

    How to optimize an API that performs multiple API calls, checks a cache, and then queries a database.

  14. 14

    Why Leave Current Company?

    Behavioral

    Explain your motivations for seeking to leave your current company.

How they prepared

My preparation involved practicing Data Structures & Algorithms, where I focused on concepts like binary search and topological sort. For the Core Java round, I specifically watched Shreyansh Jain’s Java videos on YouTube at 3.5x speed the day before the interview, which proved immensely helpful in answering many of the technical questions.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Walmart recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!