Swiggy Coding Interview Questions: 10 Tagged Problems
10 coding problems tagged Swiggy — 8 medium · 2 hard — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 10
- By difficulty: 8 medium · 2 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
10 problems the CodeKairo catalogue tags as commonly asked in Swiggy's coding rounds — 8 medium and 2 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (8), Sorting (4) and Binary Search (3). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Swiggy, which CodeKairo is not affiliated with.
Swiggy study plan by topic
All 10 problems tagged Swiggy, about 6 h 20 min of solving, grouped by technique in the order they build on each other — Counting, Two Pointers, Sliding Window and Binary Search and 3 more.
The plan
10 problems on Counting, Two Pointers, Sliding Window, Binary Search, Heap, Breadth-First Search and Union Find, easiest first within each topic.
- Count Number of Bad Pairs Medium
- Minimum Number of Operations to Make Array Empty Medium
- Number of Subsequences That Satisfy the Given Sum Condition Medium
- Find the Maximum Number of Marked Indices Medium
- Grumpy Bookstore Owner Medium
- Minimum Number of Days to Make m Bouquets Medium
- Maximum Profit in Job Scheduling Hard
- Maximum Number of Eaten Apples Medium
- Maximum Number of Moves in a Grid Medium
- Find All People With Secret Hard
All problems tagged Swiggy
Medium (8)
- Maximum Number of Eaten Apples Array, Greedy, Heap (Priority Queue)
- Maximum Number of Moves in a Grid Array, Matrix, Dynamic Programming
- Find the Maximum Number of Marked Indices Array, Two Pointers, Greedy
- Minimum Number of Days to Make m Bouquets Array, Binary Search
- Grumpy Bookstore Owner Array, Sliding Window
- Number of Subsequences That Satisfy the Given Sum Condition Array, Two Pointers, Sorting
- Minimum Number of Operations to Make Array Empty Hash Table, Greedy, Counting
- Count Number of Bad Pairs Hash Table, Array, Counting
Hard (2)
- Maximum Profit in Job Scheduling Array, Binary Search, Dynamic Programming
- Find All People With Secret Graph, Union Find, Depth-First Search
Topics Swiggy asks most
- Arrays 8 problems
- Sorting 4 problems
- Binary Search 3 problems
- Greedy 3 problems
- Hash Table 2 problems
- Counting 2 problems
- Two Pointers 2 problems
- Breadth-First Search 2 problems
- Dynamic Programming 2 problems
- Sliding Window 1 problem
- Matrix 1 problem
- Heap 1 problem