Upload Button Icon Add office photos

Filter interviews by

Swiggy Software Developer Interview Questions, Process, and Tips

Updated 10 Jan 2025

Top Swiggy Software Developer Interview Questions and Answers

  • Q1. Shuffle Two Strings 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 ...read more
  • Q2. Trapping Rain Water 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. ...read more
  • Q3. Hurdle Game 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 ...read more
View all 20 questions

Swiggy Software Developer Interview Experiences

6 interviews found

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

HAckerrank based test

I was interviewed in Mar 2022.

Round 1 - Face to Face 

Round duration - 120 Minutes
Round difficulty - Medium

Machine Coding Round
2 Hours in Total
15 Mins for Question Explaination and Doubts
1.5 Hours for coding
15 mins to discuss the approach 

Timing - 3 to 5 pm (They are flexible)
Interviewer was very patient and helped me understand the question

Round 2 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

2 Data Strucutre Questions
Timing 5-6 pm (They are flexible)
Google Meet
Online IDE

  • Q1. Unique Binary Search Trees

    You are given an integer ‘N’, your task is to return the number of structurally unique BST's (binary search trees) which have exactly 'N' nodes of unique values from ...

  • Ans. 

    There can be 3 different type of trees which need to be identified and we need to take a bottom up approach

  • Answered Anonymously
  • Q2. Subsequences of String

    You are given a string 'STR' containing lowercase English letters from a to z inclusive. Your task is to find all non-empty possible subsequences of 'STR'.

    A Subsequ...
  • Ans. Binary Representation approach

    The idea is to use bit patterns from binary representation of 1 to 2^length - 1. For a string of length N, use the binary representation of all the numbers from 1 to (2^N - 1). Start from left (Most significant bit) to right (Least significant bit) and append characters from input string which corresponds to bit value 1 in binary representation to the current subsequence.


    For example: “abc”...

  • Answered Anonymously
Round 3 - HR 

Round duration - 60 Minutes
Round difficulty - Easy

HIRING MANAGER ROUND

Discussion about the organisation now questions

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteriaNASwiggy interview preparation:Topics to prepare for the interview - Dynamic Programming, Basic OOPS, Commonly Asked Algorithms (Kadane’s, Dutch National Flag and more), Data Structures (Heaps, Stack, Queues, HashMaps and more), Low Level Design (Machine Coding)Time required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Practice is they to success, every person will need a different path for preparation, the resources that you should use will depend upon your current expertise.
Tip 2 : For Machine Coding Rounds speed is key, you need to practice atleast 20 questions, Try to figure out techniques to common out code, code out your first question, and then spend good 2-3 hours in reducing no of lines and removing redundancy, try to note down methods you used to achieve less redundancy and for all the next questions you practice try to achieve that same quality from the beginning which will automatically increase your speed
Tip 3 : Do company wise preparation, look for interview experiences and try to map out commonly asked questions and categories of those questions and practice accordingly

Application resume tips for other job seekers

Tip 1 : If applying for any non FE role (or any role that does not require designing or creative skills) keep a minimalistic resume
Tip 2 : Ensure to add a summary at the top which mentions all the criterias HRs consider while short listing resumes (Experience, Degree and Branch, Languages you have experience in, City, Willingness to Relocate, Notice Period, If already on notice period mention your last working day)

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray SumGiven an array of numbers, find the maximum s ... read more
asked in Cognizant
Q2. Nth Fibonacci NumberNth term of Fibonacci series F(n), where F(n) ... read more
asked in Rakuten
Q3. Merge two sorted arraysNinja has been given two sorted integer ar ... read more
asked in GlobalLogic
Q4. Terms Of APAyush is given a number ‘X’. He has been told that he ... read more
asked in Amazon
Q5. Minimum Number of Platform NeededYou are given the arrival and de ... read more

I was interviewed before May 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 Minutes
Round difficulty - Medium

1 easy and 2 medium-hard DSA problems to solve

  • Q1. Hurdle Game

    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 wit...

  • Ans. Brute Force

    The basic idea is to iterate through all the levels and keep subtracting the hurdles that Kevin has jumped. The steps are as follows:

     

    1. Create two variables “hurdle” and “level” to count the hurdles that Kevin has jumped and to count the level cleared, respectively.
    2. Iterate till the ”hurdle” becomes greater than ‘N’.
      • “hurdle” = “hurdle” + “level” + 1
      • “level” = “level” + 1
    3. Return “level” - 1
    Space Complexity: O...
  • Answered Anonymously
  • Q2. N Queens

    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 ...

  • Ans. Backtracking
    1. Instead of checking all the places on the chessboard, we can use backtracking and place queen row-wise or column-wise.
    2. Suppose we place queens row-wise, and we start with the very first row. Place the queen and move to the next row until either there is a solution or there are no viable cells left.
    3. As we backtrack, check to place the queen in the different columns of the same row.
    4. When we can place a queen at ...
  • Answered Anonymously
  • Q3. Count Ways To Travel Triangular Pyramid

    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 ...

  • Ans. Brute Force

    The idea is very simple, as standing at any point we will always have three choices to move. So we will make a recursive function and call it for all three choices and decrease ‘N’ by 1 each time. So when ‘N’ will reach 0 then we will check the current position, if it is ‘O’ then we can say we have found a way.

     

    Complete Algorithm :

    • We will make a helper recursive function named ‘SOLVE’ which will receive...
  • Answered Anonymously
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

2 DSA problems and computer subject questions

  • Q1. Binary strings with no consecutive 1s.

    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 b...

  • Ans. Recursive Approach

    Since we need to generate all substring which does not have consecutive 1s we can simply start adding new characters to the string until the length of the string is ‘K’ taking care that if the last character of the current string is ‘1’ we cannot add another ‘1’ as it will result in consecutive ‘1s.’ Otherwise, if the last character is ‘0’ we have 2 options either to add ‘1’ or ‘0’. We explore both th...

  • Answered Anonymously
  • Q2. Shuffle Two Strings

    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” i...

  • Ans. Brute-force, Recursion

    Approach:

     

    To solve this problem, let us solve a smaller problem first. Let’s assume that the length of the string A and B is one and the length of the string C is two. Now to check whether C is formed by interleaving A and B or not, we consider the last character of string C, and if this character matches neither with the character of the string A nor with the character of string B, then we r...

  • Answered Anonymously
Round 3 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

DSA round

  • Q1. Ninja And Geometry

    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 ‘A...

  • Ans. Mathematics

    The idea behind this approach is to derive the equation of both of the lines ‘AB’ and ‘PQ’ and check if the Slope of these two lines is equal or not. Following are the two cases:

    • If the slope of ‘AB’ and ‘PQ’ is the same that means they are parallel so we return -1.
    • Else there must a point where ‘AB’ and ‘PQ’ are intersecting.

    For a better understanding of this approach, Assume that we have two points which are...

  • Answered Anonymously
  • Q2. Detect Cycle in a Directed Graph

    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...

  • Ans. 

    1. Create the graph using the given number of edges and vertices.
    2. Create a recursive function that initializes the current index or vertex, visited, and recursion stack.
    3. Mark the current node as visited and also mark the index in the recursion stack.
    4. Find all the vertices which are not visited and are adjacent to the current node. Recursively call the function for those vertices, If the recursive function returns...

  • Answered Anonymously
Round 4 - Face to Face 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

It is a managerial round

  • Q1. Networking Question

    How does URL work and What is a load balancer.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Jalpaiguri Government Engineering College. Eligibility criteriaNASwiggy interview preparation:Topics to prepare for the interview - DSA, Networking, Operating Systems, DBMS, Spring JavaTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Practice Trees, Graphs, DP
Tip 2 : Be sure about your projects

Application resume tips for other job seekers

Tip 1 : Be genuine about your resume
Tip 2 : Have at least two projects on resume

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed in Jan 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

4 Questions which were of Easy, Medium, and Hard level.

  • Q1. Lowest Common Ancestor of a Binary Tree III

    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 ...

  • Ans. 

    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.

  • Answered by AI
  • Q2. Maximum subarray

    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 su...

  • Ans. 

    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.

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 50 Minutes
Round difficulty - Easy

  • Q1. Next Greater Element

    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...

  • Ans. 

    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, the...

  • Answered by AI
  • Q2. Trapping Rain Water

    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. Pri...

  • Ans. 

    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 amo

  • Answered by AI
Round 3 - HR 

Round duration - 30 Minutes
Round difficulty - Easy

It is just a formality round, asked basic questions like relocation and joining date etc

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BengaluruEligibility criteriawith resumeSwiggy interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, Puzzles, Project, Mock Interviews, etcTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Be good with all data structures and algorithms
Tip 2 : Able to explain your projects well 
Tip 3 : focus on basics

Application resume tips for other job seekers

Tip 1 : Try to make a single-page resume. 
Tip 2 : Don't write unnecessary details like hobbies, family, etc.

Final outcome of the interviewSelected

Skills evaluated in this interview

Swiggy interview questions for designations

 Senior Software Developer

 (2)

 Software Engineer

 (3)

 Backend Developer

 (1)

 Salesforce Developer

 (1)

 Associate Software Engineer

 (2)

 Software Development Engineer

 (2)

 Software Engineer III

 (1)

 Front end Developer

 (2)

I was interviewed before Sep 2020.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Easy

  • Q1. 0 1 Knapsack

    A thief is robbing a store and can carry a maximal weight of W into his knapsack. There are N items and the ith item weighs wi and is of value vi. Considering the constraints of the maximum we...

  • Ans. Dynamic Programming

    Approach: In the Dynamic programming we will work considering the same cases as mentioned in the recursive approach. In a DP[][] table let’s consider all the possible weights from ‘1’ to ‘W’ as the columns and weights that can be kept as the rows. 
    The state DP[i][j] will denote maximum value of ‘j-weight’ considering all values from ‘1 to ith’. So if we consider ‘wi’ (weight in ‘ith’ row) we can...

  • Answered Anonymously
  • Q2. Second largest element in the array

    You have been given an array/list 'ARR' of integers. Your task is to find the second largest element present in the 'ARR'.

    Note:
    a) Duplicate elements ...
  • Ans. Simple solution

    The idea is to sort the array in decreasing order and return the second largest element in the array.

    1. Sort the array in decreasing order.
    2. We can create a function to sort the elements using a sorting algorithm such as quicksort or use inbuilt sorting functions.
    3. Traverse from index 1(0-based indexing) because the element at index 0 will clearly be the first largest and check whether duplicates of the larger ...
  • Answered Anonymously
Round 2 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

System Design Round

  • Q1. System Design Question

    Design Twitter

Round 3 - HR 

Round duration - 30 Minutes
Round difficulty - Easy

It is just a formality

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteriaResume shortlistingSwiggy interview preparation:Topics to prepare for the interview - OOPS, Data Structures, Core Java, Algorithms, DBMS, SQL,Time required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : System Design
Tip 2 : Practice questions from leetcode
Tip 3 : Have some projects.

Application resume tips for other job seekers

Tip 1 : Mention what you know 
Tip 2 : Good previous work to showcase

Final outcome of the interviewSelected

Skills evaluated in this interview

Get interview-ready with Top Swiggy Interview Questions

Software Developer interview

user image Easy Code

posted on 23 Nov 2021

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. LRU Cache - how to tackle
  • Ans. 

    LRU Cache is a data structure that maintains a list of items in order of most recently used to least recently used.

    • Implement using a doubly linked list and a hashmap for efficient operations

    • When an item is accessed, move it to the front of the list

    • When the cache is full, remove the least recently used item from the end of the list

  • Answered by AI
  • Q2. LRU Cache implementation based on a real time system. How would the main work which will be called etc etc
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

BFS Implementation of a jug question.

Round 2 - One-on-one 

(2 Questions)

  • Q1. Few hashmap questions
  • Q2. Object Oriented Programming questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. It was lld question to design a cab booking system.
  • Q2. Tell me about yourself
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Binary search for closest element
  • Ans. 

    Binary search to find the closest element in a sorted array

    • Implement binary search to find the target element in the array

    • Keep track of the closest element found so far while searching

    • Update the closest element if a closer one is found during the search

  • Answered by AI
  • Q2. String manipulation
Round 2 - Technical 

(1 Question)

  • Q1. Low level Design for an online e-commerce website
  • Ans. 

    Low level design for an online e-commerce website involves designing the architecture and components of the website.

    • Identify the main components such as user interface, database, payment gateway, product catalog, etc.

    • Design the database schema to store user information, product details, orders, etc.

    • Implement user authentication and authorization mechanisms for secure access.

    • Integrate payment gateway for processing tran...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Zepto Software Developer interview:
  • DSA
  • Design patterns

Skills evaluated in this interview

Swiggy Interview FAQs

How many rounds are there in Swiggy Software Developer 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 Developer 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 Automation Testing, SDET, SQL, Testing and Testng.

Tell us how to improve this page.

Swiggy Software Developer Salary
based on 67 salaries
₹9.7 L/yr - ₹31 L/yr
163% more than the average Software Developer Salary in India
View more details

Swiggy Software Developer Reviews and Ratings

based on 9 reviews

2.9/5

Rating in categories

3.2

Skill development

2.5

Work-life balance

3.3

Salary

2.7

Job security

2.5

Company culture

2.8

Promotions

3.1

Work satisfaction

Explore 9 Reviews and Ratings
Delivery Boy
861 salaries
unlock blur

₹0.4 L/yr - ₹5 L/yr

Fleet Manager
589 salaries
unlock blur

₹2.5 L/yr - ₹6 L/yr

Sales Manager
526 salaries
unlock blur

₹2.4 L/yr - ₹10 L/yr

Assistant Manager
509 salaries
unlock blur

₹3 L/yr - ₹13.5 L/yr

Assistant Store Manager
430 salaries
unlock blur

₹1.8 L/yr - ₹4.2 L/yr

Explore more salaries
Compare Swiggy with

Zomato

3.8
Compare

Dunzo

3.4
Compare

FoodPanda

3.7
Compare

Rapido

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview