Walmart | SDE - 2 | Round 2

Anonymous User
392
Mar 01, 2025
Mar 04, 2025

All the questions were asked in details

  1. Need to find out the first non-repeating character from the string using Java 8 Stream API
    Input: String str = "swiss";
    Output: w
  2. Which one will be better Queue or HashMap for the above question?
  3. https://leetcode.com/problems/combination-sum
  4. Follow-up question -> What if our input array contains negative numbers? Will this solution still work?
  5. What are the edge cases did I consider when I am implementing the above question?
  6. What's the difference between inner join and outer join?
  7. Role of @RestController
  8. Fetch the top 3 highest salaries from employee table optimally
  9. Find the nth salary
  10. How do we handle duplicate messages in Kafka?
  11. What is the role of the Kafka consumer groups?

Verdict- Rejected

Comments (1)