# Snapchat Coding Interview Questions

> 99 DSA problems asked in Snapchat coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/snapchat
Last updated: 2026-11-28

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](https://www.internhack.in/learn/dsa/problem/add-binary) (Easy)
2. [Best Time to Buy and Sell Stock](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock) (Easy)
3. [Closest Binary Search Tree Value](https://www.internhack.in/learn/dsa/problem/closest-binary-search-tree-value) (Easy)
4. [Minimum Number of Pushes to Type Word I](https://www.internhack.in/learn/dsa/problem/minimum-number-of-pushes-to-type-word-i) (Easy)
5. [Power of Two](https://www.internhack.in/learn/dsa/problem/power-of-two) (Easy)
6. [Reverse Linked List](https://www.internhack.in/learn/dsa/problem/reverse-linked-list) (Easy)
7. [Accounts Merge](https://www.internhack.in/learn/dsa/problem/accounts-merge) (Medium)
8. [Amount of Time for Binary Tree to Be Infected](https://www.internhack.in/learn/dsa/problem/amount-of-time-for-binary-tree-to-be-infected) (Medium)
9. [Basic Calculator II](https://www.internhack.in/learn/dsa/problem/basic-calculator-ii) (Medium)
10. [Binary Tree Vertical Order Traversal](https://www.internhack.in/learn/dsa/problem/binary-tree-vertical-order-traversal) (Medium)
11. [Car Fleet](https://www.internhack.in/learn/dsa/problem/car-fleet) (Medium)
12. [Cheapest Flights Within K Stops](https://www.internhack.in/learn/dsa/problem/cheapest-flights-within-k-stops) (Medium)
13. [Combination Sum](https://www.internhack.in/learn/dsa/problem/combination-sum) (Medium)
14. [Combination Sum II](https://www.internhack.in/learn/dsa/problem/combination-sum-ii) (Medium)
15. [Combination Sum IV](https://www.internhack.in/learn/dsa/problem/combination-sum-iv) (Medium)
16. [Count Unreachable Pairs of Nodes in an Undirected Graph](https://www.internhack.in/learn/dsa/problem/count-unreachable-pairs-of-nodes-in-an-undirected-graph) (Medium)
17. [Course Schedule](https://www.internhack.in/learn/dsa/problem/course-schedule) (Medium)
18. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
19. [Custom Sort String](https://www.internhack.in/learn/dsa/problem/custom-sort-string) (Medium)
20. [Decode Ways](https://www.internhack.in/learn/dsa/problem/decode-ways) (Medium)
21. [Design Add and Search Words Data Structure](https://www.internhack.in/learn/dsa/problem/design-add-and-search-words-data-structure) (Medium)
22. [Design Browser History](https://www.internhack.in/learn/dsa/problem/design-browser-history) (Medium)
23. [Design Log Storage System](https://www.internhack.in/learn/dsa/problem/design-log-storage-system) (Medium)
24. [Edit Distance](https://www.internhack.in/learn/dsa/problem/edit-distance) (Medium)
25. [Evaluate Division](https://www.internhack.in/learn/dsa/problem/evaluate-division) (Medium)
26. [Find All Anagrams in a String](https://www.internhack.in/learn/dsa/problem/find-all-anagrams-in-a-string) (Medium)
27. [Game of Life](https://www.internhack.in/learn/dsa/problem/game-of-life) (Medium)
28. [Group Anagrams](https://www.internhack.in/learn/dsa/problem/group-anagrams) (Medium)
29. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
30. [K Closest Points to Origin](https://www.internhack.in/learn/dsa/problem/k-closest-points-to-origin) (Medium)
31. [Koko Eating Bananas](https://www.internhack.in/learn/dsa/problem/koko-eating-bananas) (Medium)
32. [Largest Merge Of Two Strings](https://www.internhack.in/learn/dsa/problem/largest-merge-of-two-strings) (Medium)
33. [Letter Combinations of a Phone Number](https://www.internhack.in/learn/dsa/problem/letter-combinations-of-a-phone-number) (Medium)
34. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
35. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
36. [Maximum Swap](https://www.internhack.in/learn/dsa/problem/maximum-swap) (Medium)
37. [Meeting Rooms II](https://www.internhack.in/learn/dsa/problem/meeting-rooms-ii) (Medium)
38. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
39. [Min Stack](https://www.internhack.in/learn/dsa/problem/min-stack) (Medium)
40. [Minimum Area Rectangle](https://www.internhack.in/learn/dsa/problem/minimum-area-rectangle) (Medium)
41. [Minimum Number of Keypresses](https://www.internhack.in/learn/dsa/problem/minimum-number-of-keypresses) (Medium)
42. [Minimum Path Sum](https://www.internhack.in/learn/dsa/problem/minimum-path-sum) (Medium)
43. [Minimum Remove to Make Valid Parentheses](https://www.internhack.in/learn/dsa/problem/minimum-remove-to-make-valid-parentheses) (Medium)
44. [Number of Distinct Islands](https://www.internhack.in/learn/dsa/problem/number-of-distinct-islands) (Medium)
45. [Number of Islands](https://www.internhack.in/learn/dsa/problem/number-of-islands) (Medium)
46. [One Edit Distance](https://www.internhack.in/learn/dsa/problem/one-edit-distance) (Medium)
47. [Open the Lock](https://www.internhack.in/learn/dsa/problem/open-the-lock) (Medium)
48. [Possible Bipartition](https://www.internhack.in/learn/dsa/problem/possible-bipartition) (Medium)
49. [Product of Array Except Self](https://www.internhack.in/learn/dsa/problem/product-of-array-except-self) (Medium)
50. [Random Pick with Weight](https://www.internhack.in/learn/dsa/problem/random-pick-with-weight) (Medium)
51. [Remove K Digits](https://www.internhack.in/learn/dsa/problem/remove-k-digits) (Medium)
52. [Reorder List](https://www.internhack.in/learn/dsa/problem/reorder-list) (Medium)
53. [Reverse Words in a String](https://www.internhack.in/learn/dsa/problem/reverse-words-in-a-string) (Medium)
54. [Score of Parentheses](https://www.internhack.in/learn/dsa/problem/score-of-parentheses) (Medium)
55. [Search a 2D Matrix II](https://www.internhack.in/learn/dsa/problem/search-a-2d-matrix-ii) (Medium)
56. [Search in Rotated Sorted Array](https://www.internhack.in/learn/dsa/problem/search-in-rotated-sorted-array) (Medium)
57. [Search Suggestions System](https://www.internhack.in/learn/dsa/problem/search-suggestions-system) (Medium)
58. [Shortest Path in Binary Matrix](https://www.internhack.in/learn/dsa/problem/shortest-path-in-binary-matrix) (Medium)
59. [Snapshot Array](https://www.internhack.in/learn/dsa/problem/snapshot-array) (Medium)
60. [String Compression](https://www.internhack.in/learn/dsa/problem/string-compression) (Medium)
61. [Task Scheduler](https://www.internhack.in/learn/dsa/problem/task-scheduler) (Medium)
62. [Ternary Expression Parser](https://www.internhack.in/learn/dsa/problem/ternary-expression-parser) (Medium)
63. [The Maze](https://www.internhack.in/learn/dsa/problem/the-maze) (Medium)
64. [Top K Frequent Elements](https://www.internhack.in/learn/dsa/problem/top-k-frequent-elements) (Medium)
65. [Unique Binary Search Trees](https://www.internhack.in/learn/dsa/problem/unique-binary-search-trees) (Medium)
66. [UTF-8 Validation](https://www.internhack.in/learn/dsa/problem/utf-8-validation) (Medium)
67. [Valid Sudoku](https://www.internhack.in/learn/dsa/problem/valid-sudoku) (Medium)
68. [Word Search](https://www.internhack.in/learn/dsa/problem/word-search) (Medium)
69. [Alien Dictionary](https://www.internhack.in/learn/dsa/problem/alien-dictionary) (Hard)
70. [Basic Calculator](https://www.internhack.in/learn/dsa/problem/basic-calculator) (Hard)
71. [Basic Calculator III](https://www.internhack.in/learn/dsa/problem/basic-calculator-iii) (Hard)
72. [Best Meeting Point](https://www.internhack.in/learn/dsa/problem/best-meeting-point) (Hard)
73. [Best Time to Buy and Sell Stock III](https://www.internhack.in/learn/dsa/problem/best-time-to-buy-and-sell-stock-iii) (Hard)
74. [Binary Tree Maximum Path Sum](https://www.internhack.in/learn/dsa/problem/binary-tree-maximum-path-sum) (Hard)
75. [Bricks Falling When Hit](https://www.internhack.in/learn/dsa/problem/bricks-falling-when-hit) (Hard)
76. [Burst Balloons](https://www.internhack.in/learn/dsa/problem/burst-balloons) (Hard)
77. [Bus Routes](https://www.internhack.in/learn/dsa/problem/bus-routes) (Hard)
78. [Design a Text Editor](https://www.internhack.in/learn/dsa/problem/design-a-text-editor) (Hard)
79. [Escape the Spreading Fire](https://www.internhack.in/learn/dsa/problem/escape-the-spreading-fire) (Hard)
80. [Frog Jump](https://www.internhack.in/learn/dsa/problem/frog-jump) (Hard)
81. [Least Operators to Express Number](https://www.internhack.in/learn/dsa/problem/least-operators-to-express-number) (Hard)
82. [LFU Cache](https://www.internhack.in/learn/dsa/problem/lfu-cache) (Hard)
83. [Making A Large Island](https://www.internhack.in/learn/dsa/problem/making-a-large-island) (Hard)
84. [Median of Two Sorted Arrays](https://www.internhack.in/learn/dsa/problem/median-of-two-sorted-arrays) (Hard)
85. [Minimum Time to Complete All Tasks](https://www.internhack.in/learn/dsa/problem/minimum-time-to-complete-all-tasks) (Hard)
86. [Minimum Window Substring](https://www.internhack.in/learn/dsa/problem/minimum-window-substring) (Hard)
87. [Number of Submatrices That Sum to Target](https://www.internhack.in/learn/dsa/problem/number-of-submatrices-that-sum-to-target) (Hard)
88. [Number of Ways to Form a Target String Given a Dictionary](https://www.internhack.in/learn/dsa/problem/number-of-ways-to-form-a-target-string-given-a-dictionary) (Hard)
89. [Reaching Points](https://www.internhack.in/learn/dsa/problem/reaching-points) (Hard)
90. [Reconstruct Itinerary](https://www.internhack.in/learn/dsa/problem/reconstruct-itinerary) (Hard)
91. [Shortest Path in a Grid with Obstacles Elimination](https://www.internhack.in/learn/dsa/problem/shortest-path-in-a-grid-with-obstacles-elimination) (Hard)
92. [Sliding Window Median](https://www.internhack.in/learn/dsa/problem/sliding-window-median) (Hard)
93. [Sudoku Solver](https://www.internhack.in/learn/dsa/problem/sudoku-solver) (Hard)
94. [Valid Arrangement of Pairs](https://www.internhack.in/learn/dsa/problem/valid-arrangement-of-pairs) (Hard)
95. [Wildcard Matching](https://www.internhack.in/learn/dsa/problem/wildcard-matching) (Hard)
96. [Word Abbreviation](https://www.internhack.in/learn/dsa/problem/word-abbreviation) (Hard)
97. [Word Break II](https://www.internhack.in/learn/dsa/problem/word-break-ii) (Hard)
98. [Word Ladder](https://www.internhack.in/learn/dsa/problem/word-ladder) (Hard)
99. [Word Search II](https://www.internhack.in/learn/dsa/problem/word-search-ii) (Hard)

## Prepare for the rest of the Snapchat process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
