Zomato swiggy

Interview Questions for Zomato swiggy

1. You have two empty jugs — one that can hold exactly 3 liters of water and another that can hold exactly 4 liters. You also have access to an unlimited supply of water. Your task is to measure exactly 5 liters of water using only these two jugs. You can fill, empty, or pour water between the jugs as many times as needed. How can you measure exactly 5 liters?

2. Write a SQL query to find the X percentile of students.

3. If Zomato delivered non-vegetarian food instead of vegetarian food, what would you do?

4. How can you deliver food safely?

5. Write a regular expression for email validation.