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.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.