Infosys vs Swiggy Interview Questions
Infosys lists 105 LeetCode interview questions while Swiggy lists 36. They share 13 problems — 12% of Infosys's bank and 36% of Swiggy's. Focus on the overlap first, then drill into 92 Infosys-only and 23 Swiggy-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 13 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Infosys and Swiggy.
Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Two Sum, Find Building Where Alice and Bob Can Meet and Swiggy-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Swiggy skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
13 Shared Questions
High-priority problems to practice for both Infosys and Swiggy.
| Problem | Difficulty |
|---|---|
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Merge Sorted Array | Easy |
| Maximum Subarray | Medium |
| Trapping Rain Water | Hard |
| Longest Palindromic Substring | Medium |
| Longest Consecutive Sequence | Medium |
| Subarray Sum Equals K | Medium |
| Median of Two Sorted Arrays | Hard |
| Koko Eating Bananas | Medium |
| Integer to Roman | Medium |
| Edit Distance | Medium |
| Minimum Window Substring | Hard |
Unique to Infosys (92)
Problems in Infosys's list that do not appear at Swiggy.
Unique to Swiggy (23)
Problems in Swiggy's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| Maximize Area of Square Hole in Grid | Medium |
| Minimum Value to Get Positive Step by Step Sum | Easy |
| Count Good Meals | Medium |
| Next Greater Element I | Easy |
| Happy Number | Easy |
| Course Schedule | Medium |
| Count Days Without Meetings | Medium |
| Unique Binary Search Trees | Medium |
| Daily Temperatures | Medium |
| Fair Candy Swap | Easy |
| Distinct Subsequences | Hard |
| Maximum Profit in Job Scheduling | Hard |
Frequently Asked Questions
How many LeetCode questions do Infosys and Swiggy share?
Infosys and Swiggy share 13 LeetCode interview questions. 92 problems appear only in Infosys's list and 23 appear only in Swiggy's list.
What topics overlap most between Infosys and Swiggy?
The most common shared topics between Infosys and Swiggy are Array (8 shared questions), Hash Table (5 shared questions), String (5 shared questions), Dynamic Programming (5 shared questions), Two Pointers (3 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Infosys or Swiggy?
Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Swiggy has 6 Easy, 24 Medium, and 6 Hard questions. Swiggy has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Infosys and Swiggy?
Start with the 13 shared problems since they cover what both companies ask most often. Then add 20 Infosys-specific and 20 Swiggy-specific questions to round out your prep.