Senior Software Engineer
Observer Design Pattern and Its Implementation
Describe the Observer Design Pattern. Implement a basic example where one subject notifies multiple observers about state changes. Briefly explain the code and its components.
This question was asked in
Walmart Senior Software Engineer Interview Experience
The interview process at Walmart consisted of two rounds that challenged candidates with a variety of technical questions. The first round focused on algorithms and data structures, including tasks like finding quadruplets in an array and solving a heap-based problem. The second round delved into design concepts, featuring questions about the Observer Design Pattern and a High-Level Design for a URL shortener. Overall, the interview experience at Walmart appears to require strong problem-solving skills and a solid understanding of both coding and design principles.