Upload Button Icon Add office photos

Swiggy

Compare button icon Compare button icon Compare

Filter interviews by

Swiggy Software Engineer Interview Questions and Answers

Updated 20 Dec 2024

Swiggy Software Engineer Interview Experiences

2 interviews found

Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Coding Test 

1. PEAK ELEMENT QUESTION.
2. COIN DENOMINATION

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hackerrank LeetCode 2 Hard questions and 1 medium

Interview Preparation Tips

Interview preparation tips for other job seekers - Hackerrank questions are so absurd I had to write input and output stuff more than core logic

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more

Top trending discussions

View All
Interview Hub
1w (edited)
anshitanegi
·
ex -
Planet Spark
When HR’s Chinese English made me drop the interview!
So, I talked to the HR yesterday about the interview. I asked Please send me the location But their English… bro I was shocked! It was like talking to someone jisne english nahi kuch ar hi seekh liya ho, if the HR’s English is this I can only imagine the rest of the company I decided to drop the interview with this chinese english😶‍🌫️
FeedCard Image
Got a question about Swiggy?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Campus Placement and was interviewed before Dec 2015. There were 5 interview rounds.

Interview Questionnaire 

6 Questions

  • Q1. Reverse a linked list
  • Ans. 

    Reverse a singly linked list and return the new head of the reversed list.

    • Iterate through the list while maintaining three pointers: previous, current, and next.

    • Set the next pointer of the current node to the previous node to reverse the link.

    • Move the previous and current pointers one step forward until the end of the list.

    • Return the previous pointer as the new head of the reversed list.

    • Example: For the list 1 -> 2 ...

  • Answered by AI
  • Q2. Object Oriented Programming
  • Q3. Database questions
  • Q4. What do you like about this company
  • Ans. 

    I appreciate the company's commitment to innovation and employee development.

    • Strong focus on innovation in software development

    • Opportunities for professional growth and development

    • Positive company culture and work environment

  • Answered by AI
  • Q5. Why do you want to work here
  • Ans. 

    I admire your company's innovative approach and commitment to technology, which aligns with my career goals and values.

    • Your focus on cutting-edge technology, like AI and machine learning, excites me as I want to work on impactful projects.

    • The collaborative culture here fosters creativity and teamwork, which I believe enhances productivity and job satisfaction.

    • I appreciate your commitment to professional development, as...

  • Answered by AI
  • Q6. Long term goals
  • Ans. 

    I aim to grow as a software engineer, lead projects, and contribute to innovative solutions that impact users positively.

    • Develop expertise in emerging technologies like AI and machine learning to enhance software capabilities.

    • Take on leadership roles in projects, guiding teams to deliver high-quality software solutions.

    • Contribute to open-source projects to give back to the community and learn from diverse coding practi...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Simple aptitude test where they filtered out 2/3 of the applicants (12-15 selected out of 30)
Duration: 1 hour
Total Questions: 40

Round: Technical Interview
Experience: General questions about you, your projects etc.
The linked list question, you can write in any language you like.
OOP concepts like how it is implemented in your favourite language.

Round: Technical Interview
Experience: Your thoughts on designing a database for a company that aggregates jobs from any available source.
The schema for the database and your reason for it.

Round: HR Interview
Experience: Standard HR questions

College Name: Shiv Nadar University, Dadri

Skills evaluated in this interview

I appeared for an interview in Sep 2016.

Interview Questionnaire 

9 Questions

  • Q1. Questions on DBMS like find the 2nd maximum salary of employee
  • Q2. A table was given and i need Normalize it
  • Ans. 

    Normalization organizes data to reduce redundancy and improve integrity in databases.

    • Identify functional dependencies: Determine which attributes depend on others.

    • First Normal Form (1NF): Ensure all entries in a column are atomic. E.g., split 'Phone Numbers' into separate entries.

    • Second Normal Form (2NF): Remove partial dependencies. E.g., if 'StudentID' determines 'StudentName', separate into a new table.

    • Third Normal ...

  • Answered by AI
  • Q3.  join, groupby queries on a given table
  • Ans. 

    Understanding join and groupby queries is essential for data manipulation in SQL databases.

    • JOIN combines rows from two or more tables based on a related column. Example: SELECT * FROM A JOIN B ON A.id = B.a_id;

    • INNER JOIN returns records with matching values in both tables. Example: SELECT * FROM A INNER JOIN B ON A.id = B.a_id;

    • LEFT JOIN returns all records from the left table and matched records from the right table. E...

  • Answered by AI
  • Q4. Question related to Computer Networks like how internet works
  • Q5. What is web server and application server
  • Ans. 

    Web server handles HTTP requests and responses, while application server executes application logic.

    • Web server serves static content like HTML, CSS, JS files

    • Application server executes dynamic code like Java, Python, Ruby

    • Web server communicates with client, application server communicates with database

    • Examples of web servers: Apache, Nginx, IIS

    • Examples of application servers: Tomcat, JBoss, WebSphere

  • Answered by AI
  • Q6. Coding question to print a given pattern
  • Ans. 

    This question involves coding a pattern based on specified rules, typically using loops and conditionals.

    • Identify the pattern structure (e.g., stars, numbers).

    • Use nested loops for rows and columns.

    • Example: For n=3, output could be: * ** ***

    • Consider edge cases like n=0 or negative values.

  • Answered by AI
  • Q7. Proper discussion on my projects that were mentioned in the resume. They usually ask to make class diagram, ER diagram of project etc.
  • Q8. Firstly HR asked to introduce yourself
  • Q9. Then he asked simple questions like why u want to join this company, my family background, asked about hobbies, academic achievements etc

Interview Preparation Tips

Round: Test
Experience: Two coding questions were given in the 1st round
1)find nodes at kth distance from root node
2)arrange a given array in min-max sequence
Duration: 1 hour
Total Questions: 2

College Name: Thapar University, Patiala

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Questions related to Data Structures like Array, Stack, Queue.. etc., Questions related to Algorithms Like Dynamic Programming and Questions from DBMS.

I applied via Campus Placement and was interviewed before Nov 2020. There were 3 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Data Structures
  • Q2. Algorithms knowledge

Interview Preparation Tips

Interview preparation tips for other job seekers - Study DSA and be thorough with projects.

Swiggy HR Interview Questions

94 questions and answers

Q. Give an example of when you worked as part of a team.
Q. What do you know about Swiggy's business model?
Q. Why do you want this job?

I applied via Walk-in and was interviewed before Jan 2021. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Prime number star pattern Js basics form validations

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn all basics of JS and node
Are these interview questions helpful?

I appeared for an interview before Jan 2021.

Round 1 - Video Call 

(1 Question)

Round duration - 60 minute
Round difficulty - Easy

I was asked 3 Coding ques based on arrays , 4 SQL query based on given database, and to write a basic React code based on my resume.

  • Q1. 

    Triplets with Given Sum Problem

    Given an array or list ARR consisting of N integers, your task is to identify all distinct triplets within the array that sum up to a specified number K.

    Explanation:

    A t...

  • Ans. 

    The task is to identify all distinct triplets within an array that sum up to a specified number.

    • Iterate through the array and use nested loops to find all possible triplets.

    • Check if the sum of the triplet equals the specified number.

    • Print the triplet if found, else print -1.

  • Answered by AI
Round 2 - Video Call 

(7 Questions)

Round duration - 60 minutes
Round difficulty - Medium

This was a technical round where the interviewer asked me questions based on DSA, Computer Networking, Operating Systems, HTML, CSS, React and Node js.

  • Q1. 

    Balanced Parentheses Combinations

    Given an integer N representing the number of pairs of parentheses, find all the possible combinations of balanced parentheses using the given number of pairs.

    Explanati...

  • Ans. 

    Generate all possible combinations of balanced parentheses for a given number of pairs.

    • Use recursion to generate all possible combinations of balanced parentheses.

    • Keep track of the number of open and close parentheses used in each combination.

    • Terminate recursion when the number of open and close parentheses used equals the given number of pairs.

  • Answered by AI
  • Q2. Can you explain the different OSI layers?
  • Ans. 

    The OSI (Open Systems Interconnection) model is a conceptual framework that standardizes the functions of a telecommunication or computing system into seven distinct layers.

    • Physical Layer: Deals with physical connections and transmission of raw data. Example: Ethernet cables.

    • Data Link Layer: Manages data transfer between devices on the same network. Example: MAC addresses.

    • Network Layer: Handles routing and forwarding o...

  • Answered by AI
  • Q3. What is the difference between a process and a thread?
  • Ans. 

    A process is an independent entity that contains its own memory space and resources, while a thread is a lightweight sub-process that shares the same memory space and resources with other threads.

    • A process has its own memory space, while threads share the same memory space within a process.

    • Processes are independent entities, while threads are sub-processes that rely on the process for execution.

    • Threads are lighter weig...

  • Answered by AI
  • Q4. How do you center a div using CSS?
  • Ans. 

    To center a div using CSS, set the left and right margins to auto and specify a width for the div.

    • Set margin-left and margin-right to auto

    • Specify a width for the div

    • Use display: block to ensure the div takes up the full width

  • Answered by AI
  • Q5. What is the virtual DOM in React?
  • Ans. 

    Virtual DOM is a lightweight copy of the actual DOM in React, used for efficient updates.

    • Virtual DOM is a concept where a lightweight copy of the actual DOM is created in memory.

    • When changes are made to the virtual DOM, React compares it with the actual DOM to identify the minimal number of updates needed.

    • This process helps in optimizing performance by reducing the number of DOM manipulations.

    • Example: When a user inter...

  • Answered by AI
  • Q6. Can you explain the updating phase of the React lifecycle?
  • Ans. 

    Updating phase in React lifecycle is where the component re-renders due to changes in props or state.

    • ComponentWillReceiveProps() is called before the update to compare new props with current props.

    • ShouldComponentUpdate() is called to determine if the component should re-render.

    • ComponentWillUpdate() is called before the re-render.

    • Render() is called to update the UI with the new props or state.

    • ComponentDidUpdate() is cal...

  • Answered by AI
  • Q7. What is the Event Loop in Node.js?
  • Ans. 

    The Event Loop in Node.js is a mechanism that allows Node.js to perform non-blocking I/O operations.

    • The Event Loop is responsible for handling asynchronous operations in Node.js.

    • It allows Node.js to execute multiple operations concurrently without blocking the main thread.

    • Event Loop continuously checks the event queue for new events and processes them in a loop.

    • Example: When a file is being read asynchronously in Node....

  • Answered by AI
Round 3 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

1 coding problem and a puzzle was asked in this round.

  • Q1. 

    Break The Integer Problem Statement

    Given an integer N, the task is to divide this integer into 'K' positive parts (where K ≥ 2) such that their sum equals N. The objective is to maximize the product of t...

  • Ans. 

    Given an integer N, divide it into K positive parts to maximize their product.

    • Divide N into K parts such that their sum equals N

    • Maximize the product of the K parts

    • Constraints: 1 ≤ T ≤ 11, 2 ≤ N ≤ 55

    • Example: For N = 10, parts [3, 3, 4] give product 36

  • Answered by AI
  • Q2. How many times in a day do the two hands on a clock coincide?
  • Ans. 

    The two hands of a clock coincide 22 times in a day.

    • The two hands of a clock coincide at 12:00, 1:05, 2:10, 3:15, 4:20, 5:25, 6:30, 7:35, 8:40, 9:45, and 10:50.

    • The hands coincide once every hour, except for when they coincide at 12:00 where they coincide twice.

    • The hands coincide at 12:00, 1:05, 2:10, 3:15, 4:20, 5:25, 6:30, 7:35, 8:40, 9:45, 10:50, and 11:55.

  • Answered by AI
Round 4 - HR 

Round duration - 30 minutes
Round difficulty - Easy

Typical HR round with behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAInfo Edge India (Naukri.com) interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Oct 2019. There were 5 interview rounds.

Interview Questionnaire 

9 Questions

  • Q1. Graph Question:- There is a chessboard. It is different from the normal chessboard. White and black blocks can be anywhere. Source and destination block are given. I was asked to find the path with a mini...
  • Q2. Find the sum of k smallest number in a BST.
  • Ans. 

    Find sum of k smallest numbers in a BST.

    • Traverse the BST in-order and add the k smallest numbers to a sum variable.

    • Use a priority queue to keep track of the k smallest numbers.

    • If k is greater than the number of nodes in the BST, return the sum of all nodes.

    • If k is 0, return 0.

  • Answered by AI
  • Q3. System design of BookMyShow. Design the algorithm and database for the seat booking system. How this the system will handle the case when the payment gets failed. Again he asked me to write the query for...
  • Ans. 

    Design algorithm and database for seat booking system of BookMyShow and handle failed payments.

    • Create a database with tables for movies, theaters, seats, bookings, and payments

    • Use a locking mechanism to prevent double booking of seats

    • If payment fails, release the locked seats and notify the user

    • Write a query to get the timestamp in SQL: SELECT CURRENT_TIMESTAMP;

  • Answered by AI
  • Q4. Write the code for the time stamp in C.
  • Ans. 

    Code for time stamp in C

    • Use the time.h header file

    • Call the time() function to get the current time in seconds

    • Convert the time to a string using strftime() function

    • Use the format string to specify the desired format of the time stamp

  • Answered by AI
  • Q5. Write the code for rearranging the array in consecutive pair multiplication. For example consider an array with 10 element A0, A1, A2......A9. The resultant array will be A0*A1, A1*A2, A2*A3, and so on. Th...
  • Ans. 

    Rearrange array in consecutive pair multiplication in descending order.

    • Create a new array to store the multiplied values

    • Use a loop to iterate through the original array and multiply consecutive pairs

    • Write a compare function to sort the new array in descending order

  • Answered by AI
  • Q6. Write the code to rearrange the array in maximum-minimum form.
  • Ans. 

    Code to rearrange an array in maximum-minimum form.

    • Sort the array in descending order.

    • Create a new array and alternate between adding the maximum and minimum values from the sorted array.

    • Return the new array.

    • Time complexity: O(nlogn)

    • Space complexity: O(n)

  • Answered by AI
  • Q7. What is stoi function (stoi() function)? Its uses and code to Implement stoi function.
  • Ans. 

    stoi() function converts a string to an integer.

    • stoi() is a C++ function that takes a string as input and returns an integer.

    • It is used to convert a string of digits into an integer.

    • It can also handle negative numbers and ignore leading whitespace.

    • Example: int num = stoi("123"); // num is now 123

  • Answered by AI
  • Q8. Write code for Longest Common Substring. (time limit for writing this code was 5-6 minutes)
  • Ans. 

    Code for finding the longest common substring in an array of strings.

    • Iterate through the first string and check for all possible substrings

    • Check if the substring is present in all other strings

    • Keep track of the longest common substring found so far

    • Return the longest common substring

  • Answered by AI
  • Q9. Q: What is a Transaction in DBMS and ACID properties? Q: What is Thread and how it is different from the Process? Q: What are some Linux commands. Write any 5 commands? Q: Why sudo is used for commands?...
  • Ans. 

    Answers to common technical questions in a software engineering interview

    • A transaction in DBMS is a sequence of operations that must be treated as a single unit of work. ACID properties ensure reliability and consistency of transactions.

    • A thread is a lightweight process that shares memory and resources with other threads in the same process. A process is a separate instance of a program.

    • Common Linux commands include ls...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident about what you speak.

Take your step forward. Try to be firstly interviewed if choice arrives ( They get screwed up at the end and ask questions that the previous candidates failed ).

Before approaching the solution to be clear with edge test-cases. Once you are completely sure then come up with an approach.

Skills evaluated in this interview

I applied via Company Website and was interviewed in Jan 2021. There were 4 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Online Assessment - MCQ (aptitude and technical) example: code outputs, DSA and OOP concept based, volume and area, men and work, etc.
  • Q2. Technical Round 1 - I was asked 3 Coding ques (3 Sum and 2 array based ques) , 4 SQL query based on given database, and to write a basic React code based on my resume.
  • Q3. Technical Round 2 - code Balanced Parenthesis problem and compile it. There were many questions on Computer Networks (OSI layers, what happens when you type google.com), Operating System(Process vs thread)...
  • Q4. Technical Round 3 - Coding ques- Breaking an integer to get maximum product of parts. Two puzzles- find the angle between the hands of a clock and number of times the arms of the clock cross each other in ...
  • Q5. HR Round - short round with questions like introduce yourself, strengths and weaknesses, why Info Edge, what technology do you wish to work on, etc.

Interview Preparation Tips

Interview preparation tips for other job seekers - The interviews spanned over 2-3 weeks. The process can be mentally tiring at times so de-stress now and then. And try not to bother the HR :D

Swiggy Interview FAQs

How many rounds are there in Swiggy Software Engineer interview?
Swiggy interview process usually has 1 rounds. The most common rounds in the Swiggy interview process are Coding Test.
How to prepare for Swiggy Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Swiggy. The most common topics and skills that interviewers at Swiggy expect are MySQL, Software Engineering, AWS, Ajax and Angular.

Tell us how to improve this page.

Overall Interview Experience Rating

3.5/5

based on 2 interview experiences

Difficulty level

Hard 100%

Duration

Less than 2 weeks 100%
View more
Swiggy Software Engineer Salary
based on 107 salaries
₹11.9 L/yr - ₹27.5 L/yr
114% more than the average Software Engineer Salary in India
View more details

Swiggy Software Engineer Reviews and Ratings

based on 5 reviews

3.7/5

Rating in categories

4.2

Skill development

3.2

Work-life balance

4.2

Salary

3.2

Job security

3.3

Company culture

3.8

Promotions

3.3

Work satisfaction

Explore 5 Reviews and Ratings
Delivery Boy
898 salaries
unlock blur

₹1.8 L/yr - ₹5 L/yr

Fleet Manager
619 salaries
unlock blur

₹2.5 L/yr - ₹6 L/yr

Assistant Manager
543 salaries
unlock blur

₹5.5 L/yr - ₹11.7 L/yr

Assistant Store Manager
476 salaries
unlock blur

₹2 L/yr - ₹4.2 L/yr

Store Manager
469 salaries
unlock blur

₹3.3 L/yr - ₹7.5 L/yr

Explore more salaries
Compare Swiggy with

Eternal Limited

3.7
Compare

Dunzo

3.4
Compare

FoodPanda

3.9
Compare

Rapido

3.6
Compare
write
Share an Interview