122 questions · from 33 interviews

Swiggy interview questions

Every question candidates reported from their Swiggy interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Swiggy coding and DSA questions

  1. 01

    Maximize Orders Delivered by Ram

    Few Restaurants are situated on a straight road (1D road) that can be approached from either side (left or right). Each restaurant has a certain number of orders ready for delivery. Two delivery executives, Ram and Raju, share a vehicle that can carry…

    From Swiggy SDE-3 Interview Experience

  2. 02

    Asteroid Collision

    Given an array of integers representing asteroids moving in a one‑dimensional space, each asteroid moves either to the left (negative value) or to the right (positive value). When two asteroids meet, the smaller one (by absolute value) explodes; if they are…

    Medium · From Swiggy | BarRaiser | SDE 2

  3. 03

    Find First and Last Occurrence in Sorted Array

    Find the first and last occurrence of an element in a sorted array.

    From Swiggy ASDE Backend | Interview Experience

  4. 04

    Design Stack using Array

    Design a stack using an array. The interviewer also asked me to focus more on coding practices, such as creating classes and interfaces (basic LLD concepts).

    From Swiggy ASDE Backend | Interview Experience

  5. 05

    Merge Intervals Variation

    A variation of the Merge Intervals problem was asked.

    Medium · From Swiggy SDE-1 Interview Experience

  6. 06

    Find Smallest in Rotated Sorted Array

    Find the smallest element in a rotated sorted array.

    From SDE 2 | Swiggy

  7. 07

    Count Binary Trees

    Count the number of binary trees that can be generated by taking numbers from 1 to n. I discussed a brute force approach followed by a DP solution.

    Medium · From Swiggy SDE 1 Interview Experience | Dec25 | Backend Engineer | SDE 1 Interview Leetcode | Bangalore

  8. 08

    Sliding Window Problem

    A problem involving a sliding window technique. The exact problem statement wasn't provided, but it was categorized as a Leetcode medium problem.

    Medium · From Swiggy SDE 1 Interview Experience | Dec25 | Backend Engineer | SDE 1 Interview Leetcode | Bangalore

  9. 09

    Shortest Path in a Graph

    A problem requiring finding the shortest path in a graph. The exact problem statement wasn't provided, but it was categorized as a Leetcode medium problem.

    Medium · From Swiggy SDE 1 Interview Experience | Dec25 | Backend Engineer | SDE 1 Interview Leetcode | Bangalore

  10. 10

    Nth Root Array Problem

    An array problem related to finding the nth root. The exact problem statement wasn't provided, but it was categorized as a Leetcode medium problem.

    Medium · From Swiggy SDE 1 Interview Experience | Dec25 | Backend Engineer | SDE 1 Interview Leetcode | Bangalore

  11. 11
  12. 12

    Partition Array Into Two Arrays to Minimize Sum Difference

    From Swiggy SDE-1 Interview Experience | A Very High Expectation in LLD Round

  13. 13

    Longest Subsequence from String

    A medium-level coding question on Data Structures & Algorithms, focused on finding the longest subsequence from a given string. This typically involves dynamic programming or a greedy approach.

    Medium · From Swiggy | SDE-2 | Interview Exp | 4 yrs Exp

  14. 14

    Shortest Path with K Hops

    A hard-level graph problem that required finding the shortest path between two points in a graph, with the additional constraint of needing to complete the path in exactly 'k' hops.

    Hard · From Swiggy | SDE-2 | Interview Exp | 4 yrs Exp

  15. 15

    JavaScript Currying Problem

    I was presented with an easy-to-medium level JavaScript coding problem. The core of the solution required implementing the concept of currying.

    Easy · From Swiggy Interview Experience - Full Stack (SDE-2)

  16. 16

    Number of Islands

    Given an m × n grid of '1' (land) and '0' (water), count islands where connections are 4-directional (no diagonals).

    From Swiggy - SDE 2 - July 2025 [Offer]

  17. 17

    Count of Subsets With Given Sum

    Count the number of subsets whose sum equals target. Then extend to arrays that may contain negative numbers.

    From Swiggy - SDE 2 - July 2025 [Offer]

  18. 18

    Implement a Trie

    Implement a Trie data structure supporting insert , search , and startsWith operations, demonstrating clarity on prefix trees, the purpose of isEndOfWord , and distinguishing between search and startsWith functionality.

    From Swiggy - SDE 2 - July 2025 [Offer]

  19. 19

    RandomizedSet

    Implement insert , remove , and getRandom operations in O(1) time complexity.

    From Swiggy - SDE 2 - July 2025 [Offer]

  20. 20

    Minimum Days to Make Bouquets of k Adjacent Flowers

    bloomDay[i] = day i-th flower blooms. Need m bouquets, each with k adjacent bloomed flowers. Return min day D possible, else -1.

    From Swiggy - SDE 2 - July 2025 [Offer]

  21. 21

    Build API for Word Game Application

    Build an API for a word game application in NodeJS, fetching from SQLite DB. Technical specifications, implementation details/rules, and testing/submission instructions were provided.

    From Swiggy | SDE-2 Full Stack | Interview Experience

  22. 22

    Develop Home Inventory Manager Application

    Develop a home inventory manager application using React with TypeScript. Technical specifications, implementation details/rules, and testing/submission instructions were provided.

    From Swiggy | SDE-2 Full Stack | Interview Experience

  23. 23

    Build OTP Input Component

    I was given one JS problem to build an OTP input component in 40 mins and use a platform like JSFiddle/CodePen. The functional requirements were bit too much even for an experienced developer to complete in such a short span, and top of that my speed is not…

    From Swiggy | SDE-2 Full Stack | Interview Experience

  24. 24

    Build Tree from Inorder & Preorder Traversal

    Build a binary tree from its inorder and preorder traversal sequences.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  25. 25

    Longest Valid Parentheses Substring

    Find the length of the longest valid (well-formed) parentheses substring within a given string.

    From Swiggy SDE II Interview Experience – Java Spring Boot

36 more in the Swiggy write-ups.

Swiggy system design questions

  1. 01

    Design Inventory Management System

    Design and write pseudo-code for an Inventory Management System for a high‑scale service like Swiggy/Instamart. The system must handle multi‑user stock depletion, race conditions during peak flash sales, and inventory locks, while providing clean, modular…

    From Swiggy SDE 2

  2. 02

    Design Notification System

    Design a notification system that supports: 1. SMS notifications 2. Email notifications 3. In‑app notifications 4. History of notifications 5. Scheduling of notifications The candidate was asked to create class designs, API structures, and a database schema.…

    From Swiggy | BarRaiser | SDE 2

  3. 03

    Driver-Order Assignment System Design

    Design a system to assign drivers to orders with constraints such as: Orders could be VIP or Non-VIP Drivers had ratings Different conditions determined how drivers should be matched with orders I was expected to: Design the approach Choose appropriate data…

    From Swiggy SDE-1 Interview Experience

  4. 04

    Design Multiple Parking Slot Booking System

    Design a Low-Level Design (LLD) for a system to manage multiple parking slots. These slots can be reserved by multiple companies, and the system needs to handle the booking process for these slots.

    From Swiggy LLD round

  5. 05

    Parking Lot Design

    Design a Parking Lot system.

    From SDE 2 | Swiggy

  6. 06

    Design and Implement Splitwise

    Design and implement a Splitwise application.

    From Swiggy SDE-1 Interview Experience | A Very High Expectation in LLD Round

  7. 07

    Design a Cab Booking System

    I was asked to design a Low-Level Design for a Cab Booking System. This involved identifying core entities like Rider, Driver, Trip, and Cab, along with outlining core functionalities such as booking, allocation, and ride status. I also presented a class…

    From Swiggy | SDE-2 | Interview Exp | 4 yrs Exp

  8. 08

    Design a Book Search Functionality

    The problem statement required me to design a 'Book Search functionality'. The discussion primarily focused on the High-Level Design (HLD) aspects, including gathering requirements and outlining the overall architecture. We did not delve into the Low-Level…

    From Swiggy Interview Experience - Full Stack (SDE-2)

  9. 09

    Kafka-backed Order Event Processor Design

    Design a system to process 200k events/min with strict ordering per orderId , at-least-once delivery, and idempotent downstream effects for ordered, deduplicated event fan-out to inventory & dispatch. Consider throughput, SLA ( <1s p95 ), ordering by key,…

    From Swiggy - SDE 2 - July 2025 [Offer]

  10. 10

    Technical Designing Approach

    Describe the general process and considerations for approaching a technical design problem, including requirements, modeling, APIs, storage, consistency, observability, scalability, and operational readiness.

    From Swiggy - SDE 2 - July 2025 [Offer]

  11. 11

    Implement Auto Search Functionality

    The HR round included a question about implementing an auto-search functionality. I discussed using a Prefix Trie (Trie) and explained my approach. I also provided an idea to implement this to identify genuine customers in Swiggy Dine-In restaurants.

    From SWIGGY Data Science (ON CAMPUS)

  12. 12

    Design a Vehicle Rental System (LLD)

    Perform a Low-Level Design (LLD) for a Vehicle Rental System.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  13. 13

    ML System Design: Dynamic Filter Display

    Design a solution for dynamically displaying filters based on the searched product. This was framed as a real-world problem the team is working on, and I started with a discussion on my past work, approach, and reasoning.

    Hard · From Swiggy | Data Scientist 1 | Interview

  14. 14

    ML System Design: Delivery Time Estimation Model

    Build a model to estimate delivery time, inspired by a Swiggy Bytes technical blog. This was framed as a real-world problem the team is working on, and I started with a discussion on my past work, approach, and reasoning.

    Hard · From Swiggy | Data Scientist 1 | Interview

  15. 15

    Design a Food-Order Matching System

    Design a food-order matching system. I outlined services, databases, caches, and explained trade-offs for consistency vs. latency.

    From Swiggy SDE-1 Offer | Bengaluru

  16. 16

    Design Swiggy Instamart Warehouse Management System

    Design a warehouse management system for Swiggy Instamart. This should include: Designing APIs for various functionalities. Defining DB schemas for efficient data storage and retrieval. Creating a high-level architectural diagram of the system. The design…

    From Swiggy Interview Experience || SDE-2 || Remote (Bengaluru)

  17. 17

    Design Social Media Follow/Unfollow Functionality

    Design a follow/unfollow functionality for a social media application. The focus should be on requirement gathering, database design, identifying necessary API endpoints (specifying GET/POST/PUT/PATCH/DELETE), and discussing the overall system architecture.

    Medium · From Swiggy | ASDE | Online Interviews | December 2024 [Offer]

  18. 18

    Design Services Configurations Updation System

    Design a system for updating service configurations. This task required defining APIs, specifying entities, establishing a suitable folder structure, and implementing the solution.

    From Swiggy | SDE 2 | Remote | Dec 2024 | Result (Reject) | Worst HR ever seen

  19. 19

    Design Instagram APIs

    Design several APIs for Instagram, specifically the Post API, GetFeed API, and Follow API. The design should focus on scalability to handle millions of users efficiently. Discussions included database design and writing SQL queries.

    From Swiggy | SDE-1 | Bangalore (Remote) | Aug 2024 [Offer Accepted]

  20. 20

    Design a Bike Rental System

    Design a Low-Level Design (LLD) solution for a bike rental system.

    From Swiggy | SDE-1 | Bangalore (Remote) | Aug 2024 [Offer Accepted]

  21. 21

    Design a Playing Arena

    Design a playing arena where two players can fight based on given logic. I was required to use only Java / NodeJS / Go for this project.

    From SWIGGY | ASDE | Associate Software Development Engineer(ASDE) | 2022 Passout

  22. 22

    Design LRU Cache

    Design a Least Recently Used (LRU) cache. Implement the LRUCache class: LRUCache(int capacity) initializes the LRU cache with positive size capacity. int get(int key) returns the value of the key if the key exists, otherwise returns -1. void put(int key, int…

    Medium · From SWIGGY ALL INTERVIEW QUESTIONS

  23. 23

    Design Splitwise Application

    Design the Splitwise application, specifically handling different split types. This involved conceptualizing all necessary entities and services to meet the application's core requirements.

    From Swiggy | SDE2 | Bangalore | Jan 2022 [Reject]

  24. 24

    Design Offer and Ads Data Transfer Application

    Design an application responsible for collecting data related to different offers and advertisements for Swiggy from multiple external sources. The application should then interact with internal teams to facilitate the transfer and distribution of this…

    From Swiggy | SDE2 | Bangalore | Jan 2022 [Reject]

  25. 25

    Design Multilevel Parking Lot

    Design and code a multilevel parking lot system. The interviewer looked into my design and asked about the design for remaining requirements.

    From Swiggy | SDE 1 - Backend | Bangalore | September 2021 [Offer]

Swiggy behavioural and HR questions

  1. 01

    Behavioral Questions

    Questions asked include 'Bias for Action', 'Dive Deep', and 'Disagree & Commit'.

    From Swiggy - SDE 2 - July 2025 [Offer]

  2. 02

    Past Projects Deep Dive

    A deep dive discussion into past projects, likely covering design choices, challenges, and lessons learned.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  3. 03

    Behavioral and Situational Questions

    Answer behavioral and situational questions focused on how I relate to Swiggy's values. This was mostly an informal conversation with no technical questions asked.

    From Swiggy | Data Scientist 1 | Interview

  4. 04

    Describe a Time You Resolved a Production Incident and Led a Bug-Fixing Sprint

    Describe a time you resolved a production incident under pressure and led a 2-member bug-fixing sprint. (Answer using STAR stories).

    From Swiggy SDE-1 Offer | Bengaluru

Swiggy other questions

  1. 01

    Search in Rotated Sorted Array

    You are given a sorted array that has been rotated at an unknown pivot. The task is to search for a given target element in the array and return its index. If the target is not found, return -1.

    Easy · From Swiggy SDE 2 Interview

  2. 02

    Build a CRUD Application

    The task was to build a CRUD (Create, Read, Update, Delete) application. This involved developing two separate applications: a Frontend using React and a Backend using Node.js. The time allotted for this was 3 hours.

    Medium · From Swiggy Interview Experience - Full Stack (SDE-2)

  3. 03

    JavaScript Lifecycle Methods & Promises

    Lifecycle methods in JS. How do promises work?

    From Swiggy | SDE-2 Full Stack | Interview Experience

  4. 04

    CSS Library Choice

    Which CSS library would you use and why?

    From Swiggy | SDE-2 Full Stack | Interview Experience

  5. 05

    CSS Selectors and Inline Styling Usage

    When to use class selectors and inline styling in CSS?

    From Swiggy | SDE-2 Full Stack | Interview Experience

  6. 06

    Content Security Policy (CSP) in HTML

    Explain the role of Content Security Policy in HTML.

    From Swiggy | SDE-2 Full Stack | Interview Experience

  7. 07

    JavaScript Event Loop

    Role of event loop in JS.

    From Swiggy | SDE-2 Full Stack | Interview Experience

  8. 08

    Map vs. forEach in JavaScript

    Difference between map and forEach in JS.

    From Swiggy | SDE-2 Full Stack | Interview Experience

  9. 09

    HTML Errors Affecting SEO

    What are some of the HTML errors that can negatively affect SEO?

    From Swiggy | SDE-2 Full Stack | Interview Experience

  10. 10

    HTML Browser Compatibility

    How does HTML remain compatible with different browsers?

    From Swiggy | SDE-2 Full Stack | Interview Experience

  11. 11

    SOLID Principles

    What are the SOLID principles? Explain each principle in detail.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  12. 12

    Dependency Inversion Principle (DIP)

    Explain the Dependency Inversion Principle (DIP).

    From Swiggy SDE II Interview Experience – Java Spring Boot

  13. 13

    SQL vs NoSQL

    Discuss the differences, use cases, advantages, and disadvantages of SQL and NoSQL databases.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  14. 14

    Spring Boot Autowiring Methods

    Describe different ways to autowire an object in Spring Boot.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  15. 15

    Spring IoC Container

    Explain the concept and functionality of the Spring IoC (Inversion of Control) container.

    From Swiggy SDE II Interview Experience – Java Spring Boot

  16. 16

    Machine Coding: Library Management System

    Create a library management application within 45 minutes. After successfully coding it, discuss the chosen approach and architecture.

    From Swiggy SDE 1 Interview (Android)

  17. 17

    Android Related Questions (Round 1)

    General Android related questions for 15 minutes.

    From Swiggy SDE 1 Interview (Android)

  18. 18

    Android Related Questions (Round 2)

    Android related questions for 30 minutes.

    From Swiggy SDE 1 Interview (Android)

  19. 19

    Android & Kotlin Deep Dive

    Deep questions regarding Android and Kotlin, specifically covering topics like Extension functions, Dagger Hilt, and Coroutines.

    From Swiggy SDE 1 Interview (Android)

  20. 20

    Core Statistics and Probability Concepts

    Explain concepts such as mean, variance, central limit theorem, Type I/II errors, the reasoning behind sample standard deviation being σ/√n, and provide a proof for the variance of the sample mean. Also, answer general probability questions.

    From Swiggy | Data Scientist 1 | Interview

  21. 21

    ML Evaluation Metrics and Techniques

    Discuss evaluation metrics such as precision, recall, F1-score, ROC-AUC. Explain regularization techniques and the bias-variance tradeoff. Describe metrics used for evaluating KMeans clustering.

    From Swiggy | Data Scientist 1 | Interview

  22. 22

    Deep Learning Concepts

    Explain the CNN output size formula with reasoning for each term. Discuss dropout behavior, including the impact of stacking dropout layers versus placing dropout between layers. Describe vanishing gradients in RNNs and how LSTMs solve them.

    From Swiggy | Data Scientist 1 | Interview

  23. 23

    Database Concepts (MongoDB, SQL, ACID)

    I was asked questions about MongoDB, its differences compared to SQL databases, and the core concepts of ACID properties.

    From SDE Intern Interview Experience @Swiggy

  24. 24

    Simple Attack/Defend Game Development

    Design and implement a simple attack/defend game using Node, Java, or Golang. This was a technical assignment for a backend-heavy role.

    From Swiggy | ASDE | Online Interviews | December 2024 [Offer]

  25. 25

    Process vs. Thread Differences

    Explain the fundamental differences between a Process and a Thread. Discuss why these two distinct concepts are required in operating systems.

    Easy · From Swiggy | ASDE | Online Interviews | December 2024 [Offer]

7 more in the Swiggy write-ups.

Swiggy interview questions FAQ

What questions are asked in Swiggy interviews?

Candidates reported 122 distinct questions across 33 Swiggy interviews. 61 coding and DSA questions, 25 system design questions, 4 behavioural and HR questions, 32 other questions.

How difficult are Swiggy interview questions?

Of the questions candidates rated, 17% were easy, 65% medium and 17% hard.