Swiggy frontend mock interview
Pick from 29 questions candidates reported at Swiggy or its interview guide picks, solve them against the clock, then answer the follow-ups.
Build your interview
Pick up to 6 questions, or add them at random. They share one clock and open in any order.
Swiggy's 29 questions are part of Pro. Choose Google, Meta, Amazon, Microsoft and Flipkart to pick from their free questions.
Your interview
0 of 6
0min on one clock
- 1Choose a free company to start
Swiggy mock interviews are part of Pro
With a free account you can take mock interviews for Google, Meta, Amazon, Microsoft and Flipkart.
The Swiggy loop
The rounds Swiggy runs for frontend roles, from its interview guide. The mock interview rehearses the coding and design rounds.
- 1Online assessmentA timed test that mixes DSA, JavaScript and at least one React or UI build that may have to pass test cases.
- 2JavaScript and React screenA live round, sometimes run by an external interviewing partner, on JavaScript and React basics plus a short coding problem.
- 3Frontend deep dive and machine codingBuilds a component or small feature live, such as an autosuggest, OTP input or file explorer, then probes React and async JavaScript.
- 4Design (more common at SDE-2)Designs a feature end to end, covering high-level architecture, API shape, SSR and CDN choices, and component structure.
- 5Hiring managerDiscusses past projects and how you would plan and structure an application from scratch.
- The full Swiggy interview guide
Swiggy questions in this mock interview
Every one of them opens with Pro.
JavaScript round11
- Implement a function to flatten a nested array15 min
- Implement debounce() with cancel() and flush()35 min
- Implement an EventEmitter with on, off, emit, and once35 min
- Implement an LRU cache35 min
- Implement Promise.all() from scratch35 min
- Implement infinite currying: sum(1)(2)(3)()15 min
- Check palindromes ignoring case and punctuation, and find the longest palindromic substring25 min
- Implement sleep() with cancellation and run async tasks in sequence25 min
- Build a serial analytics SDK that retries failed events in order and supports flush()30 min
- Count the ways to climb stairs taking 1 or 2 steps, and the cheapest way up20 min
- Patch Array.prototype.sort so numbers sort numerically by default, then restore the original20 min
React & UI round14
- Build search-as-you-type with debounce and AbortController35 min
- Build a typeahead/autocomplete with caching and keyboard support45 min
- Build a nested file explorer with add, rename, and delete45 min
- Build a nested comments component with threaded replies40 min
- Build tic-tac-toe on an N×N board with M in a row to win40 min
- Build a one-time-code (OTP) input with paste, backspace and arrow-key support40 min
- Build a resizable split pane with pointer and keyboard support40 min
- Build a users CRUD screen with filter, select, create, update and delete45 min
- Draw a circle that follows the cursor in a box, then only on click, with refs instead of state30 min
- Build a Markdown text editor in React with formatting toggles, shortcuts and grouped undo50 min
- Build a nested JSON viewer with collapsible nodes and inline, type-checked editing45 min
- Build a home inventory manager: rooms, item quantities, search and a low-stock filter50 min
- Audit a page's HTML for SEO mistakes: title, meta description, one <h1>, heading order, image alt, lang and canonical25 min
- Restyle a card list with CSS only, without editing the HTML or the existing stylesheet30 min
System design round4
- Design an autocomplete system serving millions of users with caching and request cancellation60 min
- Design a news feed with infinite scroll60 min
- Design a frontend authentication package: login, signup, logout, offline session storage and optimisations50 min
- Design book search end to end: instant suggestions, a server-rendered results page, CDN caching and the search backend55 min
How the mock interview works
- 1Step 1
Build your interview
Pick how many questions you want from each round, the level and a company. Google, Meta, Amazon, Microsoft and Flipkart are free with an account; every other company is in Pro.
- 2Step 2
Solve them against the clock
The room goes full screen: your questions down the left, the problem beside a real editor with tests, and one clock for the whole set. Open the questions in any order.
- 3Step 3
Answer the follow-ups
Then the interviewer asks follow-up questions. Answer each one out loud, open the model answer, and grade yourself as strictly as an interviewer would.
- 4Step 4
Read your debrief
Tests or design, follow-ups and time add up to a score out of 100 for each question, with the verdict a debrief would give. Every score is saved to your dashboard.