Snapchat Coding Interview Questions
54 coding problems are tagged as asked at Snapchat in interviews and online assessments reported by candidates. By difficulty they split into 11 basic, 32 intermediate and 11 advanced. The topics they most often combine with are String, Array, Hash Table, Math.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Snapchat tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Decode Ways (Intermediate)
- Power of Two (Basic)
- Reverse Words in a String (Basic)
- Add Binary (Basic)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Count Unique Binary Search Trees (Basic)
- Minimum Path Sum (Intermediate)
- Top K Frequent Values (Intermediate)
- Minimum Window Substring (Advanced)
- Shortest Path In Binary Grid (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Median of Sliding Windows (Intermediate)
- Count Distinct Islands Shapes (Basic)
- Snapshot Array (Intermediate)
- Hit Counter (Intermediate)
- Reverse Linked List (Basic)
- Reorder Linked List (Intermediate)
- Binary Tree Maximum Path Sum (Advanced)
- Number of Islands (Basic)
- Course Schedule Order (Intermediate)
- Cheapest Flights Within K Stops (Intermediate)
- Open the Lock (Intermediate)
- Alien Dictionary Order (Advanced)
- Burst Balloons (Advanced)
- Combination Sum IV (Intermediate)
- String Compression (Basic)
- Word Search (Intermediate)
- Word Search II Count (Advanced)
- Min Stack Operations (Basic)
- Basic Calculator (Advanced)
- Basic Calculator II (Intermediate)
- K Closest Points to Origin (Intermediate)
- Valid Sudoku (Intermediate)
- Game of Life Step (Intermediate)
- Fraction to Recurring Decimal (Intermediate)
- Combination Sum (Intermediate)
- Combination Sum II (Intermediate)
- Sudoku Solver (Advanced)
- Letter Combinations of a Phone Number (Intermediate)
- Word Break II (Advanced)
- Add and Search Words (Intermediate)
- Browser History (Intermediate)
- Minimum Area Rectangle (Intermediate)
- Bricks Falling When Hit (Advanced)
- One Edit Distance (Basic)
- Ternary Expression Parser (Intermediate)
- Basic Calculator III (Advanced)
- Largest Merge of Two Strings (Intermediate)
Related
- Snapchat basic problems
- Snapchat intermediate problems
- Snapchat advanced problems
- Snapchat String problems
- Snapchat Array problems
- Snapchat Hash Table problems
- Snapchat Math problems
- Snapchat Matrix problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Snapchat problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Snapchat interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.