Snapchat Coding Interview Questions: 24 Tagged Problems
24 coding problems tagged Snapchat — 2 easy · 15 medium · 7 hard — with solutions in 13 languages. Plus a 2-week study plan by topic.
- Problems: 24
- By difficulty: 2 easy · 15 medium · 7 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
24 problems the CodeKairo catalogue tags as commonly asked in Snapchat's coding rounds — 2 easy, 15 medium and 7 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (13), Strings (10) and Hash Table (9). The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Snapchat, which CodeKairo is not affiliated with.
Snapchat study plan by topic
All 24 problems tagged Snapchat over 2 weeks, about 15 h 15 min of solving, grouped by technique in the order they build on each other — Two Pointers, Sliding Window, Bucket Sort and Stack and 10 more.
Week 1: Two Pointers, Sliding Window, Bucket Sort +5
12 problems on Two Pointers, Sliding Window, Bucket Sort, Stack, Monotonic Stack, Matrix, Simulation and Intervals, easiest first within each topic.
- String Compression Medium
- Reverse Words in a String Medium
- Largest Merge Of Two Strings Medium
- Minimum Window Substring Hard
- Top K Frequent Elements Medium
- Basic Calculator II Medium
- Remove K Digits Medium
- Valid Sudoku Medium
- Add Binary Easy
- Game of Life Medium
- Merge Intervals Medium
- Meeting Rooms II Medium
Week 2: Bit Manipulation, Backtracking, Breadth-First Search +3
12 problems on Bit Manipulation, Backtracking, Breadth-First Search, Topological Sort, Union Find and Dynamic Programming, easiest first within each topic.
- Power of Two Easy
- Combination Sum Medium
- Word Search Medium
- Word Break II Hard
- Sudoku Solver Hard
- Word Ladder Hard
- Bus Routes Hard
- Course Schedule II Medium
- Number of Islands Medium
- Number of Distinct Islands Medium
- Making A Large Island Hard
- Frog Jump Hard
All problems tagged Snapchat
Easy (2)
- Add Binary Math, String, Bit Manipulation
- Power of Two Math, Bit Manipulation
Medium (15)
- Largest Merge Of Two Strings Two Pointers, String, Greedy
- Word Search Array, String, Backtracking
- Number of Distinct Islands Array, Hash Table, Depth-First Search
- Basic Calculator II Math, String, Stack
- Valid Sudoku Array, Hash Table, Matrix
- Game of Life Array, Matrix, Simulation
- String Compression Two Pointers, String
- Reverse Words in a String Two Pointers, String
- Combination Sum Array, Backtracking
- Course Schedule II Graph, Topological Sort, Heap
- Meeting Rooms II Array, Sorting, Heap
- Merge Intervals Array, Sorting, Intervals
- Number of Islands Array, Matrix, Depth-First Search
- Top K Frequent Elements Array, Heap, Hash Table
- Remove K Digits String, Stack, Greedy
Hard (7)
- Sudoku Solver Array, Hash Table, Backtracking
- Word Break II Hash Table, String, Dynamic Programming
- Bus Routes Array, Hash Table, Breadth-First Search
- Making A Large Island Array, Matrix, Depth-First Search
- Frog Jump Array, Hash Table, Dynamic Programming
- Word Ladder Hash Table, String, Breadth-First Search
- Minimum Window Substring String, Sliding Window, Hash Table
Topics Snapchat asks most
- Arrays 13 problems
- Strings 10 problems
- Hash Table 9 problems
- Matrix 7 problems
- Breadth-First Search 5 problems
- Backtracking 4 problems
- Depth-First Search 4 problems
- Math 3 problems
- Two Pointers 3 problems
- Heap 3 problems
- Union Find 3 problems
- Sorting 2 problems