Skip to content

Swiggy Placement Papers 2025 - Latest Questions & Solutions

Download latest Swiggy placement papers 2025 PDF with current year online assessment questions, solutions, and updated exam patterns.

This page contains Swiggy placement papers from 2025 with current year questions, solutions, and exam patterns. Practice these Swiggy placement papers 2025 to understand the latest question patterns and difficulty levels.

SectionQuestionsTimeDifficultyFocus Areas
Coding Problems2-360-80 minMedium-HardArrays, trees, graphs, DP
Debugging1-220-30 minMediumCode fixes, logic errors

Total: 3-5 problems, 90-120 minutes
Platform: HackerRank or Swiggy’s internal platform
Languages Allowed: Java, C++, Python, Go
Success Rate: ~10-15% cleared OA and advanced to interviews

Swiggy Placement Papers 2025 - Actual Questions & Solutions

Section titled “Swiggy Placement Papers 2025 - Actual Questions & Solutions”

This section contains real coding questions from Swiggy placement papers 2025 based on candidate experiences from GeeksforGeeks, LeetCode, and interview forums.

Q1: Given two strings s and t, return the minimum window substring of s such that every character in t (including duplicates) is included in the window.

Problem Statement: If there is no such substring, return the empty string "".

Example:

Input: s = "ADOBECODEBANC", t = "ABC"
Output: "BANC"
Explanation: The minimum window substring "BANC" includes 'A', 'B', and 'C' from string t.

Solution (Java):

public String minWindow(String s, String t) {
if (s == null || t == null || s.length() < t.length()) return "";
Map<Character, Integer> map = new HashMap<>();
for (char c : t.toCharArray()) {
map.put(c, map.getOrDefault(c, 0) + 1);
}
int left = 0, right = 0;
int count = map.size();
int minLen = Integer.MAX_VALUE;
int minStart = 0;
while (right < s.length()) {
char c = s.charAt(right);
if (map.containsKey(c)) {
map.put(c, map.get(c) - 1);
if (map.get(c) == 0) count--;
}
while (count == 0) {
if (right - left + 1 < minLen) {
minLen = right - left + 1;
minStart = left;
}
char leftChar = s.charAt(left);
if (map.containsKey(leftChar)) {
map.put(leftChar, map.get(leftChar) + 1);
if (map.get(leftChar) > 0) count++;
}
left++;
}
right++;
}
return minLen == Integer.MAX_VALUE ? "" : s.substring(minStart, minStart + minLen);
}

Time Complexity: O(|s| + |t|)
Space Complexity: O(|s| + |t|)
Algorithm: Sliding Window with HashMap

Question 2: Serialize and Deserialize Binary Tree

Section titled “Question 2: Serialize and Deserialize Binary Tree”
Q2: Design an algorithm to serialize and deserialize a binary tree.

Problem Statement: Serialization is the process of converting a data structure or object into a sequence of bits. Deserialization is the process to reconstruct the tree from the serialized format.

Example:

Tree:
1
/ \
2 3
/ \
4 5
Serialized: "1,2,null,null,3,4,null,null,5,null,null"

Solution (Java):

public class Codec {
public String serialize(TreeNode root) {
StringBuilder sb = new StringBuilder();
serializeHelper(root, sb);
return sb.toString();
}
private void serializeHelper(TreeNode node, StringBuilder sb) {
if (node == null) {
sb.append("null,");
return;
}
sb.append(node.val).append(",");
serializeHelper(node.left, sb);
serializeHelper(node.right, sb);
}
public TreeNode deserialize(String data) {
Queue<String> queue = new LinkedList<>(Arrays.asList(data.split(",")));
return deserializeHelper(queue);
}
private TreeNode deserializeHelper(Queue<String> queue) {
String val = queue.poll();
if (val.equals("null")) return null;
TreeNode node = new TreeNode(Integer.parseInt(val));
node.left = deserializeHelper(queue);
node.right = deserializeHelper(queue);
return node;
}
}

Time Complexity: O(n)
Space Complexity: O(n)
Algorithm: Pre-order traversal with null markers

Q3: A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words such that adjacent words differ by exactly one letter.

Problem Statement: Return the number of words in the shortest transformation sequence from beginWord to endWord, or 0 if no such sequence exists.

Example:

Input: beginWord = "hit", endWord = "cog", wordList = ["hot","dot","dog","lot","log","cog"]
Output: 5
Explanation: One shortest transformation sequence is "hit" -> "hot" -> "dot" -> "dog" -> "cog", which is 5 words long.

Solution (Java):

public int ladderLength(String beginWord, String endWord, List<String> wordList) {
Set<String> wordSet = new HashSet<>(wordList);
if (!wordSet.contains(endWord)) return 0;
Queue<String> queue = new LinkedList<>();
queue.offer(beginWord);
int level = 1;
while (!queue.isEmpty()) {
int size = queue.size();
for (int i = 0; i < size; i++) {
String current = queue.poll();
if (current.equals(endWord)) return level;
char[] chars = current.toCharArray();
for (int j = 0; j < chars.length; j++) {
char original = chars[j];
for (char c = 'a'; c <= 'z'; c++) {
if (c == original) continue;
chars[j] = c;
String newWord = new String(chars);
if (wordSet.contains(newWord)) {
queue.offer(newWord);
wordSet.remove(newWord);
}
}
chars[j] = original;
}
}
level++;
}
return 0;
}

Time Complexity: O(M × N) where M is word length, N is wordList size
Space Complexity: O(N)
Algorithm: BFS with character replacement

Question 4: Design Restaurant Recommendation System

Section titled “Question 4: Design Restaurant Recommendation System”
Q4: Design a system to recommend restaurants to users based on their preferences and order history.

Requirements:

  • User preference tracking (cuisine, price range, location)
  • Order history analysis
  • Collaborative filtering for recommendations
  • Real-time ranking and updates

Key Components:

  • User Service: Manage user profiles and preferences
  • Restaurant Service: Restaurant data and ratings
  • Recommendation Engine: Generate personalized recommendations
  • Ranking Service: Rank restaurants by relevance

Database Design:

  • Users table: user_id, preferences, location
  • Orders table: order_id, user_id, restaurant_id, rating
  • Restaurants table: restaurant_id, cuisine, price_range, location, rating

Algorithm:

  • Collaborative filtering based on similar users
  • Content-based filtering using cuisine and preferences
  • Hybrid approach combining both methods

Expected Hiring

  • Total Hires: 180+ freshers
  • SDE-1: 162+ selections
  • SDE-2: 18+ selections
  • Locations: Bengaluru, Hyderabad, hybrid/remote

Salary Packages

  • SDE-1: ₹16-22 LPA
  • SDE-2: ₹24-30 LPA
  • Senior SDE: ₹40-55 LPA

Question Trends

  • Medium: 50% of questions
  • Hard: 50% of questions
  • Focus: Optimal solutions required

Key Insights from 2025 Swiggy Online Assessment

Section titled “Key Insights from 2025 Swiggy Online Assessment”
  1. Coding Section is Critical: Must solve 2-3 coding problems correctly to advance
  2. Advanced Topics: More focus on DP, Graphs, and Design problems
  3. Optimization: Emphasis on optimal solutions (time/space complexity)
  4. System Design: More detailed for SDE-1 roles - food delivery systems
  5. Food Delivery Context: Questions often relate to Swiggy’s food delivery domain
  6. Company Values: Strong focus on behavioral assessment
  7. Time Management: 2-3 problems in 90-120 minutes requires excellent speed
  8. Debugging: Always included - practice debugging skills thoroughly
  9. Success Rate: Only 10-15% cleared OA and advanced to interviews

Based on recent candidate experiences from 2025 Swiggy interviews:

2025 Interview Process:

  1. Online Assessment (90-120 minutes): 2-3 coding problems + 1-2 debugging questions
  2. Technical Phone Screen (45-60 minutes): Coding problems, algorithm discussions
  3. Onsite Interviews (4-5 rounds, 45-60 minutes each):
    • Coding rounds (2-3): Algorithms, data structures, problem-solving
    • System Design round: Food delivery systems for SDE-1+ roles
    • Behavioral round: Problem-solving approach, teamwork, impact

2025 Interview Trends:

  • Increased emphasis on food delivery system design even for SDE-1 roles
  • More focus on optimal solutions with better complexity analysis
  • Enhanced behavioral questions about company values and impact
  • Questions about logistics optimization and real-time systems

Common 2025 Interview Topics:

  • Coding: Arrays, strings, trees, graphs, dynamic programming
  • System Design: Food delivery systems (order matching, delivery partner allocation, real-time tracking)
  • Debugging: Code fixes, logic errors, performance issues
  • Behavioral: Problem-solving examples, teamwork, impact on business metrics
  • Food Delivery Knowledge: Order matching algorithms, logistics optimization, real-time systems

2025 Interview Questions Examples:

  • Minimum Window Substring
  • Design Swiggy’s order matching system (System Design)
  • Design Swiggy’s delivery partner allocation system (System Design)
  • Real-time tracking system design

Success Tips:

  • Strong coding performance is essential - solve problems optimally
  • Learn food delivery system design - order matching, logistics, real-time tracking
  • Prepare examples demonstrating problem-solving and business impact
  • Practice explaining your thought process clearly
  • Focus on time management - 2-3 problems in 90-120 minutes
  • Understand logistics and matching algorithms in detail

For detailed interview experiences from 2025, visit Swiggy Interview Experience page.

  1. Master Coding Fundamentals: Focus on solving 2-3 coding problems correctly - arrays, trees, graphs, DP
  2. Practice Previous Year Papers: Solve Swiggy OA papers from 2020-2025 to understand evolving patterns
  3. Time Management: Practice completing 2-3 coding problems in 60-80 minutes, debugging in 20-30 minutes
  4. System Design Mastery: Learn food delivery system design - order matching, logistics for SDE-1+
  5. LeetCode Practice: Solve 200+ LeetCode problems focusing on arrays, strings, trees, graphs (medium-hard difficulty)
  6. Food Delivery Focus: Practice problems related to food delivery scenarios
  7. Mock Tests: Take timed practice tests to improve speed and accuracy
  8. Graph Algorithms: Master graph algorithms - matching, routing, optimization
  9. Dynamic Programming: Practice DP problems - frequently asked
  10. Logistics Knowledge: Understand logistics and matching algorithms for food delivery in detail
  11. Optimization Focus: Emphasize optimal solutions with better time/space complexity

Swiggy 2024 Papers

Previous year Swiggy placement papers with DSA questions and solutions

View 2024 Papers →

Swiggy Interview Experience

Real interview experiences from candidates who cleared Swiggy placement

Read Experiences →

Swiggy Main Page

Complete Swiggy placement guide with eligibility, process, and salary

View Main Page →

Zomato Placement Papers

Similar food delivery company with comparable interview process

View Zomato Papers →

Swiggy 2024 Papers

Previous year Swiggy placement papers with DSA questions and solutions

View 2024 Papers →

Swiggy Main Page

Complete Swiggy placement guide with eligibility, process, and salary

View Main Page →

Zomato Placement Papers

Similar food delivery company with comparable interview process

View Zomato Papers →


Practice 2025 papers to stay updated!