Zomato Interview Experience (1 years Experience)
1. Basics of Elasticsearch and how did you use it in your current company project, as i had mentioned it in my skills.
2.What is a singleton class in Java ? Write code to implement the same.
3.Implement shuffle feature for a music player. (Hint: https://www.geeksforgeeks.org/shuffle-a-given-array-using-fisher-yates-shuffle-algorithm/)
Only pseudo code
4. Island problem (Refer: https://www.geeksforgeeks.org/find-number-of-islands/)
Write working code
Q1. Remove only 1 element in an array and tell how many sorted sequences are possible for the array?
Input: [1 2 3 4 5 4]
Output:[1 2 3 4 4 ], [1 2 3 4 5] i.e 2
Input: [1 2 3 4 2]
Output: [1 2 3 4] i.e 1
Q2. Design pattern question (Circuit Breaker) -> If an api is making external call to system x, y, z then how will you monitor it’s response and return the same, consider(within 1 min api is failing 10 times).How will you detect the same? (Implement only backend part)
Not selected for Round 3.
Hey geek! It’s time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!
Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!