Snapchat Coding Interview Questions

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

Snapchat DSA problems, easiest first

  1. Add Binary (Easy)
  2. Best Time to Buy and Sell Stock (Easy)
  3. Closest Binary Search Tree Value (Easy)
  4. Minimum Number of Pushes to Type Word I (Easy)
  5. Power of Two (Easy)
  6. Reverse Linked List (Easy)
  7. Accounts Merge (Medium)
  8. Amount of Time for Binary Tree to Be Infected (Medium)
  9. Basic Calculator II (Medium)
  10. Binary Tree Vertical Order Traversal (Medium)
  11. Car Fleet (Medium)
  12. Cheapest Flights Within K Stops (Medium)
  13. Combination Sum (Medium)
  14. Combination Sum II (Medium)
  15. Combination Sum IV (Medium)
  16. Count Unreachable Pairs of Nodes in an Undirected Graph (Medium)
  17. Course Schedule (Medium)
  18. Course Schedule II (Medium)
  19. Custom Sort String (Medium)
  20. Decode Ways (Medium)
  21. Design Add and Search Words Data Structure (Medium)
  22. Design Browser History (Medium)
  23. Design Log Storage System (Medium)
  24. Edit Distance (Medium)
  25. Evaluate Division (Medium)
  26. Find All Anagrams in a String (Medium)
  27. Game of Life (Medium)
  28. Group Anagrams (Medium)
  29. Insert Delete GetRandom O(1) (Medium)
  30. K Closest Points to Origin (Medium)
  31. Koko Eating Bananas (Medium)
  32. Largest Merge Of Two Strings (Medium)
  33. Letter Combinations of a Phone Number (Medium)
  34. Longest Substring Without Repeating Characters (Medium)
  35. LRU Cache (Medium)
  36. Maximum Swap (Medium)
  37. Meeting Rooms II (Medium)
  38. Merge Intervals (Medium)
  39. Min Stack (Medium)
  40. Minimum Area Rectangle (Medium)
  41. Minimum Number of Keypresses (Medium)
  42. Minimum Path Sum (Medium)
  43. Minimum Remove to Make Valid Parentheses (Medium)
  44. Number of Distinct Islands (Medium)
  45. Number of Islands (Medium)
  46. One Edit Distance (Medium)
  47. Open the Lock (Medium)
  48. Possible Bipartition (Medium)
  49. Product of Array Except Self (Medium)
  50. Random Pick with Weight (Medium)
  51. Remove K Digits (Medium)
  52. Reorder List (Medium)
  53. Reverse Words in a String (Medium)
  54. Score of Parentheses (Medium)
  55. Search a 2D Matrix II (Medium)
  56. Search in Rotated Sorted Array (Medium)
  57. Search Suggestions System (Medium)
  58. Shortest Path in Binary Matrix (Medium)
  59. Snapshot Array (Medium)
  60. String Compression (Medium)
  61. Task Scheduler (Medium)
  62. Ternary Expression Parser (Medium)
  63. The Maze (Medium)
  64. Top K Frequent Elements (Medium)
  65. Unique Binary Search Trees (Medium)
  66. UTF-8 Validation (Medium)
  67. Valid Sudoku (Medium)
  68. Word Search (Medium)
  69. Alien Dictionary (Hard)
  70. Basic Calculator (Hard)
  71. Basic Calculator III (Hard)
  72. Best Meeting Point (Hard)
  73. Best Time to Buy and Sell Stock III (Hard)
  74. Binary Tree Maximum Path Sum (Hard)
  75. Bricks Falling When Hit (Hard)
  76. Burst Balloons (Hard)
  77. Bus Routes (Hard)
  78. Design a Text Editor (Hard)
  79. Escape the Spreading Fire (Hard)
  80. Frog Jump (Hard)
  81. Least Operators to Express Number (Hard)
  82. LFU Cache (Hard)
  83. Making A Large Island (Hard)
  84. Median of Two Sorted Arrays (Hard)
  85. Minimum Time to Complete All Tasks (Hard)
  86. Minimum Window Substring (Hard)
  87. Number of Submatrices That Sum to Target (Hard)
  88. Number of Ways to Form a Target String Given a Dictionary (Hard)
  89. Reaching Points (Hard)
  90. Reconstruct Itinerary (Hard)
  91. Shortest Path in a Grid with Obstacles Elimination (Hard)
  92. Sliding Window Median (Hard)
  93. Sudoku Solver (Hard)
  94. Valid Arrangement of Pairs (Hard)
  95. Wildcard Matching (Hard)
  96. Word Abbreviation (Hard)
  97. Word Break II (Hard)
  98. Word Ladder (Hard)
  99. Word Search II (Hard)

Prepare for the rest of the Snapchat process

Other companies