Now practice all your interviews before giving the real one

( Swiggy interview questions )

Swiggy interview questions, and how to answer them.

15 questions candidates report from Swiggy interviews, grouped by topic, with a short note on how to answer each kind. Then say your answers out loud in a practice interview.

5 minutes, no CV needed. A practice round, not Swiggy's own.

What Swiggy interviews ask, in our data

Our bank holds 26 coding questions that candidates report from Swiggy interviews. The topics that come up most: arrays & hashing (4), dynamic programming, 1-D (3), math & bits (3) and sliding window (3). Of the 26 coding questions, 4 are easy, 17 medium and 5 hard.

Our data covers coding questions for Swiggy; it says nothing about their other rounds, so we don't guess. These are practice questions based on what candidates report on public, community-kept lists, each written in our own words. RoundAlpha is not linked to Swiggy.

Coding questions
26
Easy / medium / hard
4 / 17 / 5
Top topic
Arrays & hashing
Page data updated
29 November 2026

( Questions )

15 Swiggy questions to practise.

Arrays & hashing

  1. 1

    Keep the Running Sum PositiveEasy

    You are given an integer array nums. Find the smallest positive integer to use as the initial balance.

  2. 2

    Smallest Absent ValueHard

    Receive an unsorted integer array nums. Return its lowest absent value that is strictly greater than zero.

  3. 3

    Slices That Sum to KMedium

    Given a list of integers nums and an integer k, return how many slices of nums add up to exactly k.

Stack

  1. 4

    Rightward LookupsEasy

    Two 0-indexed integer arrays, queries and order, are given. Every entry across both arrays is distinct, and queries is a subset of order.

  2. 5

    Days Until WarmerMedium

    temperatures[i] is the temperature on day i. For each day, return how many days after it you have to wait for a warmer day, one with a strictly higher temperature.

Math & bits

  1. 6

    Reaches OneEasy

    Given a positive integer n, determine whether repeatedly squaring each decimal digit and adding the results eventually makes the value equal to 1.

  2. 7

    Write Roman NumeralsMedium

    Roman notation uses seven characters: I means one, V means five, X means ten, L means fifty, C means one hundred, D means five hundred, and M means one thousand.

Graphs

  1. 8

    Can You Finish the Courses?Medium

    There are numCourses courses, numbered from 0 to numCourses - 1. Some courses need others first: prerequisites[i] = [a, b] means you must finish course b before you can take course a.

Dynamic programming, 2-D

  1. 9

    Edit DistanceHard

    You are given two words, word1 and word2.

Sliding window

  1. 10

    Best Day to SellEasy

    prices[i] is the price of one share on day i. You may buy one share on one day and sell it on a later day.

Two pointers

  1. 11

    Sort Three ColoursMedium

    The list nums holds only the values 0, 1 and 2 — think of them as red, white and blue. Rearrange nums in place so that every 0 comes first, then every 1, then every 2.

Binary search

  1. 12

    Middle of Two Sorted ListsHard

    nums1 and nums2 are two lists of integers, each sorted from smallest to largest.

Greedy

  1. 13

    Earn the Most PointsMedium

    For a string s, deleting an adjacent "ab" awards x points, while deleting an adjacent "ba" awards y points.

  2. 14

    Cheapest Balanced AssignmentMedium

    length / 2. For person i, costs[i] = [aCosti, bCosti] gives the flight cost to city A and the flight cost to city B, respectively.

Heap

  1. 15

    K Closest PointsMedium

    points[i] = [x, y] is a point on a flat grid. Return the k points closest to the origin, (0, 0), in any order.

Want to write the code too? The Swiggy list on our coding practice page runs your answer against hidden tests, in six languages.

Questions

Swiggy interview: questions and answers

What coding questions does Swiggy ask?

Our bank holds 26 coding questions that candidates report from Swiggy interviews. The topics that come up most: arrays & hashing (4), dynamic programming, 1-D (3), math & bits (3) and sliding window (3). This page shows 15 of them, grouped by topic.

How hard are Swiggy coding questions?

Of the 26 coding questions, 4 are easy, 17 medium and 5 hard. The level you meet depends on the role and your experience, so practise easy and medium ones until you can explain them out loud, then add hard ones.

Are these the real Swiggy interview questions?

They are practice questions based on what candidates report from Swiggy interviews on public, community-kept lists. Each one is written in our own words. RoundAlpha is not linked to Swiggy, and no list can promise what a given interviewer will ask.

Can I practise a Swiggy interview for free?

Yes. A new account you sign up for yourself gets one short free practice interview. Name Swiggy as the company and the interviewer leans its questions toward that company. You can choose "No CV this time", so no CV is needed. You talk out loud and get a scored report at the end.

Read next

Ready when you are

Say it out loud once before it counts.

A short practice interview with Swiggy named as the company, then a scored report on every answer.

5 minutes, no CV needed. A practice round, not Swiggy's own.