Panda Guru LogoPanda
Guru

Microsoft | SDE | L60

Round 1

Questions: I received a Codility test link and completed it.
Codility Test Link

Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Round 2

Questions:

  1. DSA Question: Merge Intervals
  2. Generate test cases for the above question.
  3. DSA Question: Trapping Rain Water
  4. Explain the logic of the code and generate test cases for this question.
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Round 3

Questions:

  1. Do you know what anagrams?
  2. DSA Question: Group Anagrams
  3. Explain your approach and generate test cases for this question.
  4. Discuss time complexity.
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.


Round 4

Questions:

  1. Difference between Compile Time Polymorphism and Runtime Polymorphism?
  2. How does the Garbage Collector work?
  3. Explain the Singleton design pattern and how to make it thread-safe.
  4. Discuss a Concurrent real-time notification system - low latency.
  5. How to keep a Distributed system consistent?
  6. How to solve Deadlock?
  7. Compare Microservices vs Monolithic. What if you are migrating from Monolithic to Microservices and both don’t work?
  8. What challenges did you face while migrating from Monolithic to Microservices and what was your role?
  9. Analyze the following code:
    String s1 = "hello"; String s2 = new String("hello"); String s3 = "hello"; System.out.println(s1 == s2); // False System.out.println(s1 == s3); // True System.out.println(s1.equals(s2)); // True
  10. Difference between Queue and PriorityQueue.
  11. Write a Java program to find the first non-repeating character in a given string.
    • Input: "swiss" Output: 'w'
    • Input: "racecar" Output: 'e'
    • What if there is a stream instead of a string?
  12. How to solve conflicts with your colleague?
  13. How to debug a production bug?
  14. How will you solve a Null Pointer Exception?
  15. What are the cons of the Locking Mechanism? How will you solve it?
Candidate's Approach

No approach provided.

Interviewer's Feedback

No feedback provided.