Walmart Interview Experience For SDE III (2024)

Education: B.Tech CS Tier 3

Location: Hyderabad, Telangana

Round 1 (DSA):

  • Length of longest subarray with sum 0 (https://leetcode.com/problems/subarray-sum-equals-k/description/)
  • The total amount of water trapped by rainwater (https://leetcode.com/problems/trapping-rain-water/description/)

Round 2 (Java + LLD):

  • What happens when you run a Java program?
  • Questions on OOPs principles, encapsulation vs abstraction, inheritance vs composition, etc.
  • Questions on exception handling, checked vs unchecked exceptions with examples, throw vs throws keyword when to use what, etc.
  • Internal working of HashMap. Sort a HashMap in descending order of its values without using any external data structures (The interviewer was looking for an answer using Java Streams API)
  • Questions on Spring and Spring Boot, Commonly used annotations like @SpringBootApplication, @ComponentScan, @Service, @Configuration, etc. What is dependency injection, what are its different types, when to use which type, how is it done differently in spring vs spring boot, etc?
  • Small coding exercise of a Spring Boot application where class A calls class B and class B calls class C. Show how the annotations are used and how dependency injection happens.

Verdict: Rejected


Contact Us