Open In App

Zomato Interview Experience (1 years Experience)

Last Updated : 22 Mar, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

Round 1:
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

Round 2:
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.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads