Swiggy
40+ Interview Questions and Answers
You are given three strings “A”, “B” and “C”. Your task is to check whether “C” is formed by an interleaving of A and B. C is said to be interleaving “A” and “B”, if the length of “C” is equa...read more
You have been given a long type array/list 'ARR' of size 'N'. It represents an elevation map wherein 'ARR[i]' denotes the elevation of the 'ith' bar. Print the total amount of rainwater that ...read more
The question asks to find the total amount of rainwater that can be trapped in the given elevation map.
Iterate through the array and find the maximum height on the left and right side of each bar.
Calculate the amount of water that can be trapped at each bar by taking the minimum of the maximum heights on both sides and subtracting the height of the bar.
Sum up the amount of water trapped at each bar to get the total amount of rainwater trapped.
Once Kevin is playing a hurdle game in which he has to jump some hurdles to clear a particular level. Each level ‘i’ has ‘i’ hurdles (for example, level 6 has 6 hurdles).
You are provided with the to...read more
Ninjas has been given an array. He wants to find a subarray such that the sum of all elements in the subarray is maximum.
Subarray 'A' is greater than sub-array 'B' if sum(A) > sum(B). If two su...read more
The problem is to find a subarray with the maximum sum in a given array.
Iterate through the array and keep track of the maximum sum and the current sum.
If the current sum becomes negative, reset it to 0.
Update the maximum sum if the current sum is greater.
Also keep track of the start and end indices of the subarray with the maximum sum.
Return the subarray using the start and end indices.
The node structure of a binary tree is modified such that each node has the reference to its parent node.
You are given two nodes: ‘N1’ and ‘N2’, of the above binary t...read more
This question is about finding the lowest common ancestor of two nodes in a binary tree with parent references.
Traverse from the given nodes to their respective root nodes and store the paths in two separate lists.
Compare the two lists and find the last common node.
Return the last common node as the lowest common ancestor.
For a given array/list of integers of size N, print the Next Greater Element(NGE) for every element. The Next Greater Element for an element X is the first element on the right side of X in ...read more
The task is to find the next greater element for each element in an array.
Iterate through the array from right to left.
Use a stack to keep track of the elements that have a greater element to their right.
For each element, pop elements from the stack until a greater element is found or the stack is empty.
If a greater element is found, it is the next greater element for the current element.
If the stack becomes empty, there is no greater element to the right.
Store the next great...read more
Bob has been given a triangular pyramid with its vertices marked as ‘O’, ‘X’, ‘Y’ and ‘Z’ and provided with another integer ‘N’. In a single step, Bob can go to any adjace...read more
You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard.
A queen can be killed when it lies in the ...read more
You have been given an integer K.
Your task is to generate all binary strings of length K such that there are no consecutive 1s in the string. This means that the binary st...read more
Given a directed graph, check whether the graph contains a cycle or not. Your function should return true if the given graph contains at least one cycle, else return false.
Inpu...read more
Ninja has been given 2 points ‘A’ and ’B’ that corresponds to the line ‘AB’ and ‘P’, ’Q’ that corresponds to line ‘PQ’ on a 2D plane. Ninja wants to find the intersection point of the ‘AB’ and...read more
Q12. How will resolve the fleet demands when they are in strike
I will address fleet demands during a strike by implementing contingency plans and utilizing alternative resources.
Developing contingency plans to ensure minimal disruption to fleet operations
Collaborating with other departments or external vendors to secure alternative transportation options
Prioritizing critical deliveries and reallocating resources accordingly
Communicating with stakeholders to manage expectations and provide updates
Monitoring the strike situation closely an...read more
Q13. How will you find the defaulters and what will you do to find
To find defaulters, I will use a combination of data analysis, communication, and enforcement strategies.
Analyze payment records and identify customers who have missed payments or consistently pay late
Review vehicle tracking data to identify any misuse or unauthorized use of company vehicles
Regularly communicate with drivers and customers to address any payment issues or concerns
Implement strict enforcement policies, such as penalties for late payments or vehicle misuse
Collab...read more
Q14. How do you get the data from data base and what are important to SQL commands and why
To get data from a database, SQL commands are used. Important SQL commands include SELECT, INSERT, UPDATE, and DELETE.
Use SELECT command to retrieve data from a database
Use INSERT command to add new data to a database
Use UPDATE command to modify existing data in a database
Use DELETE command to remove data from a database
SQL commands are important as they allow manipulation and retrieval of data in a structured manner
Q15. What is you tacking care?
I take care of my fleet by ensuring regular maintenance, monitoring fuel consumption, and training drivers on safe driving practices.
Regular maintenance to prevent breakdowns and ensure optimal performance
Monitoring fuel consumption to identify inefficiencies and reduce costs
Training drivers on safe driving practices to minimize accidents and prolong vehicle lifespan
Started with spring beans, functional dependencies and asked how will check dependencies are valid or not. When I said they must be in the form of a directed acyclic graph. Then he asked me t...read more
Q17. problem identification - how to reduce per delivery cost from Rs. 75 (hypothetical value).
To reduce per delivery cost from Rs. 75, we can focus on optimizing logistics and operational processes.
Analyze the current delivery process to identify inefficiencies
Implement route optimization software to minimize travel time and fuel consumption
Negotiate better rates with suppliers and shipping partners
Invest in technology to automate manual tasks and reduce labor costs
Streamline inventory management to minimize storage and handling costs
Q18. What is the pivot table short cut
The shortcut for creating a pivot table is Alt + N + V.
The shortcut involves pressing the Alt key, followed by the N key, and then the V key.
This shortcut can be used in Microsoft Excel to quickly create a pivot table.
It saves time by avoiding the need to navigate through the Excel menu.
The pivot table shortcut is commonly used by fleet managers to analyze and summarize data.
Q19. Why English should be business language?
English should be the business language due to its global reach and effectiveness in communication.
English is the most widely spoken language in the world, making it a common medium for international business communication.
English is the language of technology, science, and commerce, enabling seamless collaboration and exchange of ideas.
Using English as the business language ensures a level playing field for all participants, regardless of their native language.
English has a ...read more
How does URL work and What is a load balancer.
Q21. what type of language is python?
Python is a high-level programming language known for its simplicity and readability.
Python is an interpreted language, meaning it does not need to be compiled before running.
It supports multiple programming paradigms, including object-oriented, imperative, and functional programming.
Python has a large standard library and a thriving community, making it versatile and widely used.
Example: Python is used for web development (Django, Flask), data analysis (Pandas, NumPy), and a...read more
Q22. what is python used for?
Python is a versatile programming language used for data analysis, web development, artificial intelligence, automation, and more.
Data analysis and visualization
Web development (Django, Flask)
Artificial intelligence and machine learning (TensorFlow, PyTorch)
Automation and scripting
Scientific computing (NumPy, SciPy)
Q23. what is array in python?
An array in Python is a data structure that stores a collection of elements of the same type.
Arrays can store elements such as integers, floats, or strings.
Arrays are indexed starting from 0, with elements accessed using their index.
Example: arr = ['apple', 'banana', 'cherry']
Q24. Can you Handel larger number of blue collar rider.
Yes, I have experience handling a large number of blue collar riders through efficient scheduling and communication.
I have experience managing a high volume of blue collar riders by creating optimized schedules.
I am skilled in effective communication to ensure smooth operations with a large number of riders.
I have successfully coordinated with a team of blue collar riders to meet deadlines and targets.
Q25. what is oops in python?
Object-oriented programming (OOP) is a programming paradigm based on the concept of 'objects', which can contain data and code.
OOP allows for the organization of code into reusable components called classes.
Classes can have attributes (variables) and methods (functions) associated with them.
In Python, everything is an object, and classes can be defined using the 'class' keyword.
Encapsulation, inheritance, and polymorphism are key concepts in OOP.
Q26. what is python?
Python is a high-level programming language known for its simplicity and readability.
Python is widely used for web development, data analysis, artificial intelligence, and scientific computing.
It emphasizes code readability and uses indentation to define code blocks.
Python has a large standard library and a vibrant community of developers.
Example: print('Hello, World!')
Example: import pandas as pd
Q27. What is the fefo ? Who can achieve our targets? What we do or don't? Who can manage the Manpower? What is the basis knowledge of last job ?
FEFO stands for First Expired, First Out. It is a method of inventory management where products with the earliest expiration dates are used or sold first.
FEFO is important in industries like food and pharmaceuticals where product expiration dates are critical.
Achieving targets requires effective inventory management and sales strategies.
Managers should have strong leadership skills to manage manpower effectively.
Knowledge of the previous job should include experience in retai...read more
Q28. What do you know about swiggy?
Swiggy is a popular food delivery platform in India.
Swiggy was founded in 2014 in Bangalore, India.
It offers a wide range of restaurants and cuisines for users to choose from.
Swiggy has a strong delivery network and quick delivery times.
The platform also offers features like live tracking of orders and multiple payment options.
Swiggy has expanded to several cities across India and has become a household name for food delivery.
Q29. How many cars are there in Delhi? How to deal with conflicts ? How to react to criticism?
It is impossible to accurately determine the number of cars in Delhi.
There is no official count of the number of cars in Delhi.
The number of cars in Delhi is constantly changing due to new registrations and old cars being taken off the road.
Estimates suggest that there are over 10 million vehicles in Delhi, including cars, motorcycles, and other vehicles.
Traffic congestion and air pollution are major issues in Delhi, partly due to the high number of vehicles on the road.
Q30. Details explantion of f&v stages
F&V stages refer to the different stages of fruits and vegetables from harvesting to consumption.
The first stage is harvesting, where the produce is picked from the plant.
The second stage is grading, where the produce is sorted based on quality and size.
The third stage is packaging, where the produce is packed for transportation and storage.
The fourth stage is transportation, where the produce is transported to the market or store.
The final stage is consumption, where the pro...read more
Q31. RCA of 5% drop in google docs
The Root Cause Analysis (RCA) of a 5% drop in Google Docs usage.
Investigate recent changes or updates to Google Docs that may have caused user dissatisfaction.
Analyze user feedback and reviews to identify any common issues or complaints.
Check for any technical issues or bugs that may be affecting the performance of Google Docs.
Review competitor products to see if there are any new features or improvements that may have drawn users away.
Consider external factors such as change...read more
Q32. famous gold puzzle
The famous gold puzzle is a mathematical problem that involves finding the minimum number of weighings needed to identify a fake gold bar among a set of real ones.
The puzzle involves a set of gold bars, one of which is fake and weighs either more or less than the real ones.
The objective is to identify the fake bar using a balance scale in the minimum number of weighings possible.
The solution involves dividing the bars into groups and weighing them against each other to elimin...read more
Q33. What are the core values of Swiggy
Swiggy's core values include customer obsession, innovation, integrity, and teamwork.
Customer obsession - Putting the customer first in all decisions and actions
Innovation - Constantly striving to improve and find new solutions
Integrity - Acting with honesty and transparency in all dealings
Teamwork - Collaborating effectively to achieve common goals
Q34. Why are you interested in data entry profile
I am detail-oriented and enjoy working with data to ensure accuracy and efficiency.
I have strong attention to detail which is essential for data entry tasks
I enjoy organizing and managing data to ensure accuracy
I find satisfaction in completing tasks efficiently and effectively
I have experience in data entry roles in the past
Q35. What is bpo and it's types?
Q36. What do you know About OTC medicine?
OTC medicine refers to over-the-counter medications that can be purchased without a prescription.
OTC medicines are typically used to treat minor ailments and symptoms
They are regulated by the FDA in the United States
Examples include pain relievers like ibuprofen, allergy medications like loratadine, and cold remedies like cough syrup
Q37. What is the meaning of data entry
Data entry is the process of inputting, updating, or maintaining data in a computer system.
Data entry involves accurately inputting data into a computer system
It can include tasks such as updating records, entering new information, or maintaining databases
Data entry operators often use software programs like Microsoft Excel or specialized data entry software
Accuracy and attention to detail are crucial in data entry to ensure the integrity of the data
Examples of data entry tas...read more
Q38. Availability for training
I am available for training full-time during weekdays and can adjust my schedule if needed.
Available for training full-time during weekdays
Can adjust schedule if needed
Q39. Sell me a pen
This pen is not just a writing tool, but a stylish accessory that will make you stand out in any professional setting.
This pen features a sleek design that exudes professionalism.
The smooth ink flow ensures a flawless writing experience.
Its durable construction guarantees long-lasting use.
Perfect for signing important documents or taking notes in meetings.
Comes in a variety of colors to suit your personal style.
Q40. How to provide a lead
Providing a lead involves identifying potential candidates or clients and initiating contact to gauge interest.
Research potential leads through networking, social media, and industry events.
Reach out to leads through personalized emails or phone calls to introduce your services.
Follow up with leads to build relationships and convert them into clients or candidates.
Q41. Develop weather forecast app
Develop a weather forecast app for Android platform.
Utilize APIs like OpenWeatherMap for real-time weather data
Include features like current weather, hourly forecast, and 7-day forecast
Implement location-based weather updates
Design user-friendly interface with intuitive navigation
Incorporate push notifications for weather alerts
Q42. Explain a scenario
Scenario: A customer is unhappy with a product they purchased.
Listen to the customer's complaint and empathize with their situation.
Offer a solution or compensation to resolve the issue.
Follow up with the customer to ensure their satisfaction.
Document the complaint and use it as feedback to improve the product or service.
Train customer service representatives to handle similar situations in the future.
Q43. HLD of BookMyShow
BookMyShow is a popular online ticketing platform for movies, events, and other entertainment.
BookMyShow is a platform where users can book tickets for movies, events, plays, sports, etc.
It provides information on upcoming events, movie showtimes, and venue details.
Users can select seats, make payments, and receive e-tickets for their bookings.
The platform also offers reviews, ratings, and recommendations for users to make informed choices.
BookMyShow has a user-friendly inter...read more
More about working at Swiggy
Top HR Questions asked in null
Interview Process at null
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month