Swiggy Coding Interview Questions

41 DSA problems tagged as asked in Swiggy coding interviews and online assessments. Below are all 41: 9 easy, 26 medium and 6 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Swiggy DSA problems, easiest first

  1. Best Time to Buy and Sell Stock (Easy)
  2. Fair Candy Swap (Easy)
  3. Happy Number (Easy)
  4. Merge Sorted Array (Easy)
  5. Merge Two Sorted Lists (Easy)
  6. Minimum Value to Get Positive Step by Step Sum (Easy)
  7. Next Greater Element I (Easy)
  8. Two Sum (Easy)
  9. Valid Parentheses (Easy)
  10. Continuous Subarray Sum (Medium)
  11. Count Days Without Meetings (Medium)
  12. Count Good Meals (Medium)
  13. Course Schedule (Medium)
  14. Daily Temperatures (Medium)
  15. Design Twitter (Medium)
  16. Edit Distance (Medium)
  17. Immediate Food Delivery II (Medium)
  18. Integer to Roman (Medium)
  19. K Closest Points to Origin (Medium)
  20. Koko Eating Bananas (Medium)
  21. Letter Combinations of a Phone Number (Medium)
  22. Longest Palindromic Substring (Medium)
  23. Longest Substring Without Repeating Characters (Medium)
  24. LRU Cache (Medium)
  25. Maximize Area of Square Hole in Grid (Medium)
  26. Maximum Length of Pair Chain (Medium)
  27. Maximum Product Subarray (Medium)
  28. Maximum Score From Removing Substrings (Medium)
  29. Maximum Subarray (Medium)
  30. Minimum Number of Work Sessions to Finish the Tasks (Medium)
  31. Sort Colors (Medium)
  32. Subarray Sum Equals K (Medium)
  33. Sum of Two Integers (Medium)
  34. Two City Scheduling (Medium)
  35. Unique Binary Search Trees (Medium)
  36. Distinct Subsequences (Hard)
  37. First Missing Positive (Hard)
  38. Maximum Profit in Job Scheduling (Hard)
  39. Median of Two Sorted Arrays (Hard)
  40. Minimum Window Substring (Hard)
  41. Trapping Rain Water (Hard)

Prepare for the rest of the Swiggy process

Other companies