Interview Intel · Swiggy

Swiggy coding interview
questions, leaked.

31 problems reported across recent Swiggy interviews. Top patterns: array, hash table, sorting. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

Swiggy's coding assessment leans hard on arrays and hash tables, with 21 and 11 problems respectively across a pool of 31. Most questions sit in the medium band (18 problems), so you're not facing a gauntlet of easy warm-ups before the real test. You'll see sorting, two-pointers, and stack patterns woven through nearly every major problem type. If you blank on a hash-table or array problem mid-assessment, StealthCoder runs invisibly during screen share and surfaces a working solution in seconds, letting you move past the wall and rack up points on the rest of the loop.

Tracked problems
31
Easy
9/ 29%
Medium
18/ 58%
Hard
4/ 13%

Top problems at Swiggy

leaked_problems.csv31 rows
#ProblemDiffFrequency
01Maximize Area of Square Hole in GridMEDIUM
100.0
02Minimum Value to Get Positive Step by Step SumEASY
97.6
03Sort ColorsMEDIUM
80.5
04Happy NumberEASY
75.0
05Next Greater Element IEASY
75.0
06Merge Sorted ArrayEASY
75.0
07Valid ParenthesesEASY
75.0
08Maximum Profit in Job SchedulingHARD
75.0
09Integer to RomanMEDIUM
67.9
10Count Good MealsMEDIUM
67.9
11Fair Candy SwapEASY
67.9
12Course ScheduleMEDIUM
67.9
13Daily TemperaturesMEDIUM
67.9
14Two City SchedulingMEDIUM
58.0
15Edit DistanceMEDIUM
58.0
16Minimum Number of Work Sessions to Finish the TasksMEDIUM
58.0
17Subsets IIMEDIUM
58.0
18Maximum Length of Pair ChainMEDIUM
58.0
19Majority ElementEASY
58.0
20Merge Two Sorted ListsEASY
58.0
21Longest Consecutive SequenceMEDIUM
58.0
22LRU CacheMEDIUM
58.0
23First Missing PositiveHARD
58.0
24Median of Two Sorted ArraysHARD
58.0
25Subarray Sum Equals KMEDIUM
58.0
26Maximum Score From Removing SubstringsMEDIUM
58.0
27Immediate Food Delivery IIMEDIUM
58.0
28Letter Combinations of a Phone NumberMEDIUM
58.0
29K Closest Points to OriginMEDIUM
58.0
30Best Time to Buy and Sell StockEASY
58.0
31Trapping Rain WaterHARD
58.0

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual Swiggy OA. The proctor cannot see it. Screen share cannot detect it. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE.

Get StealthCoder
Topic distribution
What this means

Array problems dominate the interview, appearing in 21 of 31 reported questions. Hash tables are the second pillar, paired with arrays in counting and lookup tasks like Count Good Meals and Fair Candy Swap. Sorting surfaces constantly, either standalone or mixed into array problems like Sort Colors and Maximize Area of Square Hole in Grid. Stack and monotonic-stack patterns show up in roughly one in four problems (Next Greater Element I, Daily Temperatures, Valid Parentheses). Dynamic programming and binary search are lower-frequency but appear in the hard tier (Maximum Profit in Job Scheduling, Edit Distance). The medium-difficulty skew means you need fast pattern recognition, not just brute-force ability. StealthCoder is your hedge for the patterns you didn't have time to drill. Greedy and two-pointers round out the tail, so don't skip them, but array and hash-table fluency will carry you through most of the OA.

Companies with similar patterns

If you prepped for Swiggy, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass Swiggy.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Made by a working Amazon engineer who got tired of watching qualified friends bomb OAs they'd solve cold in an IDE. Works on HackerRank, CodeSignal, CoderPad, and Karat.

Swiggy interview FAQ

How many array problems should I drill before the Swiggy assessment?+

Array problems make up 21 of 31 reported questions, so drilling 15 to 20 focused array problems is solid baseline coverage. Mix in problems like Merge Sorted Array and Sort Colors to get comfortable with two-pointers and in-place manipulation. The remaining time goes to hash tables and stack patterns.

Are hash tables really that important for this interview?+

Yes. Hash tables appear in 11 of 31 problems and are almost always paired with arrays or strings. Count Good Meals and Fair Candy Swap are common patterns here. If you can't think through hash-table space-time tradeoffs in real time, you'll lose points on medium problems.

What should I study first if I have one week?+

Arrays and hash tables first, three to four days combined. Then stack and monotonic-stack patterns (Next Greater Element I, Daily Temperatures), which appear in roughly one in four problems. Sorting and two-pointers are often baked into array problems, so you'll practice them naturally.

Is dynamic programming a blocker for Swiggy?+

Not heavily. DP appears in 6 problems out of 31, mostly in the hard tier (Maximum Profit in Job Scheduling, Edit Distance). If you've drilled arrays and hash tables, you can skip deep DP prep and use that time for stack and sorting patterns instead.

How should I handle the medium-difficulty skew in the assessment?+

18 of 31 problems are medium, so expect to be uncomfortable. Focus on problems like Sort Colors and Daily Temperatures that mix two or three patterns together. Practice your pattern recognition under time pressure, not just correctness. That's where most candidates stumble.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and Swiggy. StealthCoder is not affiliated with Swiggy.