Swiggy
Leading Indian food delivery aggregator with complex real-time logistics.
4 Rounds
~15 Days
Hard
The Interview Loop
Recruiter Screen (30 min)
Standard fit check, behavioral questions, and resume overview.
Technical Loop (3-4 Rounds)
Deep dive into domain knowledge, coding, and system design.
Interview Question Bank
Machine Learning Engineer
•
Coding
•
medium
Write a Python function to compute the NDCG@K given a list of predicted scores and a list of true relevance labels.
#Python
#Array Manipulation
#Math
Machine Learning Engineer
•
Coding
•
hard
A delivery partner needs to pick up orders from 2 restaurants and deliver them to 2 customers. Write an algorithm to find the shortest valid route (pickups must precede respective drop-offs).
#Graphs
#Shortest Path
#Backtracking
#TSP
Machine Learning Engineer
•
Coding
•
medium
Implement a Trie data structure to support search autocomplete for Swiggy Instamart items. It should support insert, search, and return top 3 matching prefixes.
#Trees
#String Manipulation
#Tries
#Design
Machine Learning Engineer
•
Coding
•
medium
Given a delivery bag with a maximum weight capacity W, and a list of orders with specific weights and delivery payouts, write a function to maximize the payout.
#Dynamic Programming
#Optimization
#Knapsack
Machine Learning Engineer
•
Coding
•
medium
Implement the K-Means clustering algorithm from scratch in Python using NumPy. Do not use scikit-learn.
#Machine Learning Algorithms
#Python
#Math
#NumPy
Machine Learning Engineer
•
Coding
•
easy
Write a Python script using Pandas to perform stratified sampling on a dataset of 10 million Swiggy orders, stratified by 'city_id'.
#Python
#Pandas
#Data Processing
Machine Learning Engineer
•
Coding
•
medium
Given a list of active time intervals for a delivery executive (e.g., [[10, 12], [11, 15], [16, 18]]), write a function to merge overlapping intervals to calculate total active hours.
#Arrays
#Sorting
#Intervals
Difficulty Radar
Based on recent AI-sourced data.
Meet Your Interviewers
The "Standard" Interviewer
Senior EngineerFocuses on core competencies, system constraints, and clear communication.
SimulateUnwritten Rules
Think Out Loud
Always explain your thought process before writing code or drawing architecture.