Swiggy Coding Interview Questions: 9 Tagged Problems
9 coding problems tagged Swiggy — 8 medium · 1 hard — with solutions in 13 languages. Plus a study plan by topic.
- Problems: 9
- By difficulty: 8 medium · 1 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
9 problems the CodeKairo catalogue tags as commonly asked in Swiggy's coding rounds — 8 medium and 1 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (7), Sorting (3) and Greedy (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 9 problems tagged Swiggy, about 5 h 30 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
9 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
- Find the Maximum Number of Marked Indices Medium
- Grumpy Bookstore Owner Medium
- Number of Subsequences That Satisfy the Given Sum Condition Medium
- Minimum Number of Days to Make m Bouquets Medium
- 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 (1)
- Find All People With Secret Graph, Union Find, Depth-First Search
Topics Swiggy asks most
- Arrays 7 problems
- Sorting 3 problems
- Greedy 3 problems
- Hash Table 2 problems
- Counting 2 problems
- Two Pointers 2 problems
- Binary Search 2 problems
- Breadth-First Search 2 problems
- Sliding Window 1 problem
- Matrix 1 problem
- Heap 1 problem
- Graph 1 problem