The interview was virtual, and the interviewer preferred direct answers. The interviewer did not explain programming questions in detail and should improve clarity in responses for better understanding. Time given for programming question was less
Interview questions [1]
Question 1
1. Find the Shortest Distance Between Two Points
Problem: Given two points (x1, y1) and (x2, y2), find the shortest Euclidean distance.
2. Create a custom caching library in Java
3. Exception hierarchy
4. CAP Theorm
5. How you will handle Mongo multiple instance efficiency
6. What is composite key
7. Java 17 features
8. How you will inject the singleton bean into prototype bean and vice versa
9.