Swiggy Frontend Interview Questions

Consumer app at scale. Async JavaScript and a build round.

Swiggy's products, food delivery, Instamart and Dineout, are used mostly on phones, often on slow networks, and include live states such as order tracking. Frontend interviews reflect that: async JavaScript, performance and real-time updates come up often.

Candidates commonly describe a JavaScript round, a machine coding round and a problem-solving round, with a design round for senior roles.

Questions
15, 5 with free answers
Interview rounds
5
Last reviewed
October 2026

Swiggy frontend interview process

The usual shape of the loop. A guide to what to prepare, not a promise of what you will get.

  1. 1

    JavaScript fundamentals

    Closures, promises, the event loop and writing small utilities.

  2. 2

    Machine coding

    Build a small feature such as a cart, a search box or a timer in 60 to 90 minutes, usually in React.

  3. 3

    Problem solving

    Data structure and algorithm questions at an easy to moderate level.

  4. 4

    Frontend system design

    For senior roles: design a screen such as live order tracking or a restaurant listing.

  5. 5

    Hiring manager

    Project deep dive and how you handle trade-offs.

What interviewers tend to look for

  • Async code that survives slow and failing networks: retries, cancellation and stale responses.
  • Mobile web performance: bundle size, images and the first load.
  • Real-time updates and when to use polling, SSE or a WebSocket.
  • Modelling state such as a cart so that totals cannot go out of sync.

Your Swiggy mock interview

15 questions. Type an answer under each one and an AI reviewer scores it and tells you what you missed. Stuck on one? Ask for a hint. A free account gets 3 AI replies a day.

Your mock interview

0 of 15 answered

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15

Answer a question and your score shows up here.

JavaScript

5 questions
  1. Question 1 of 15JavaScript

    Swiggy interviewer

    Explain the event loop. In what order do a setTimeout, a promise callback and synchronous logs run?

  2. Question 2 of 15JavaScript

    Swiggy interviewer

    Implement Promise.all.

  3. Question 3 of 15JavaScript

    Swiggy interviewer

    Write a function that retries a failing async call with exponential backoff.

  4. Question 4 of 15JavaScript

    Swiggy interviewer

    Compare Promise.all, allSettled, race and any. How do you run async calls in parallel with async/await?

  5. Question 5 of 15JavaScript

    Swiggy interviewer

    What is the difference between a shallow and a deep copy? How would you deep clone an object?

React

3 questions
  1. Question 6 of 15React

    Swiggy interviewer

    How does useEffect work? Explain the dependency array, cleanup and the common mistakes.

  2. Question 7 of 15React

    Swiggy interviewer

    Why does a setInterval inside useEffect keep seeing the old state? How do you fix it?

  3. Question 8 of 15React

    Swiggy interviewer

    What is hydration, and what causes a hydration mismatch?

Next.js

2 questions
  1. Question 9 of 15Next.js

    Swiggy interviewer

    Compare SSG, ISR, SSR and CSR. When would you choose each?

  2. Question 10 of 15Next.js

    Swiggy interviewer

    What do next/image and next/font do for performance?

CSS

1 question
  1. Question 11 of 15CSS

    Swiggy interviewer

    How do you build a responsive layout?

Browser, performance and system design

2 questions
  1. Question 12 of 15Browser, performance and system design

    Swiggy interviewer

    Compare polling, Server-Sent Events and WebSockets for real-time updates.

  2. Question 13 of 15Browser, performance and system design

    Swiggy interviewer

    How does HTTP caching work? What caching strategy would you use for a web app?

Machine coding

2 questions
  1. Question 14 of 15Machine coding

    Swiggy interviewer

    Build a typeahead search box that fetches suggestions as the user types.

  2. Question 15 of 15Machine coding

    Swiggy interviewer

    Build a countdown timer or a stopwatch with start, pause and reset.

Practise for Swiggy

Reading answers is the easy half. These problems run in the browser against real tests.

Other company guides

blur