Walmart | SDE III | Bengaluru | May 2024 [Reject]
Anonymous User
1092

Education: B.Tech CS Tier 3
Experience: 2 years 6 months at FAANG
Location: Hyderabad, Telangana

Round 1 (DSA):

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

Round 2 (Java + LLD):

  1. What happens when you run a java program?
  2. Questions on OOPs principles, encapsulation vs abstraction, inheritance vs composition, etc.
  3. Questions on exception handling, checked vs unchecked exceptions with examples, throw vs throws keyword, when to use what, etc.
  4. Internal working of HashMap. Sort a HashMap in descending order of its values without using any external data structures (Interviewer was looking for answer using Java Streams API)
  5. 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.
  6. 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.

Rejected after round 2. I had prepared LLD thoroughly but the interviewer was focused on Java questions only.

Comments (1)