Snapchat logo SN
Verified Company Vault

Snapchat DSA Interview Questions

87 curated coding interview questions directly asked in Snapchat technical rounds, sorted by frequency with recency and difficulty diagnostics.

87 Total Questions
5 (6%) Easy Problems
55 (63%) Medium Problems
27 (31%) Hard Problems
🔥 Most Tested Topics:
Strings (20)Core DSA (20)Arrays (17)Trees (9)Binary Search (8)
📂 Sourced Datasets:
Last 3 monthsLast 6 monthsAll questionsOlder than 6 months
Showing 87 of 87 displayed
IDProblemDifficultyTopicPatternAcceptanceFrequencyRecency
347Top K Frequent ElementsMediumHeapPriority Queue66.4%100.0%3m
200Number of IslandsMediumGraphsBFS / DFS / Topological Sort64.4%87.5%3m
146LRU CacheMediumDesignData Structure Design47.4%87.5%3m
39Combination SumMediumArrays; BacktrackingSorting / Prefix / Scan; Backtracking76.5%87.5%all
76Minimum Window SubstringHardArrays; Strings; TreesSorting / Prefix / Scan; Hashing / Sliding Window; DFS / BFS; Sliding Window47.5%87.5%all
127Word LadderHardStringsHashing / Sliding Window45.6%87.5%all
140Word Break IIHardStrings; Dynamic ProgrammingHashing / Sliding Window; State Transition55.6%87.5%all
151Reverse Words in a StringMediumStringsHashing / Sliding Window56.4%87.5%all
635Design Log Storage SystemMediumDesignData Structure Design59.6%87.5%all
827Making A Large IslandHardGraphsBFS / DFS / Topological Sort56.6%87.5%all
815Bus RoutesHardCore DSAImplementation / Reasoning47.3%87.5%all
694Number of Distinct IslandsMediumGraphsBFS / DFS / Topological Sort62.8%87.5%all
227Basic Calculator IIMediumStack / QueueMonotonic Stack / Simulation46.9%75.0%6m
253Meeting Rooms IIMediumGreedyGreedy52.7%75.0%6m
875Koko Eating BananasMediumBinary SearchBinary Search50.0%75.0%6m
772Basic Calculator IIIHardStack / QueueMonotonic Stack / Simulation53.3%75.0%6m
2258Escape the Spreading FireHardCore DSAImplementation / Reasoning38.2%75.0%6m
939Minimum Area RectangleMediumArraysSorting / Prefix / Scan55.4%75.0%6m
362Design Hit CounterMediumDesignData Structure Design69.7%75.0%6m
752Open the LockMediumCore DSAImplementation / Reasoning61.3%75.0%6m
36Valid SudokuMediumStrings; BacktrackingHashing / Sliding Window; Backtracking64.5%75.0%all
37Sudoku SolverHardBacktrackingBacktracking65.5%75.0%all
40Combination Sum IIMediumArrays; BacktrackingSorting / Prefix / Scan; Backtracking59.5%75.0%all
44Wildcard MatchingHardCore DSAImplementation / Reasoning32.0%75.0%all
96Unique Binary Search TreesMediumTrees; Binary SearchDFS / BFS; Binary Search63.7%75.0%all
155Min StackMediumStack / QueueMonotonic Stack / Simulation58.2%75.0%all
161One Edit DistanceMediumDynamic ProgrammingState Transition34.6%75.0%all
206Reverse Linked ListEasyLinked ListTwo Pointers80.6%75.0%all
210Course Schedule IIMediumGraphsBFS / DFS / Topological Sort55.5%75.0%all
269Alien DictionaryHardGraphsBFS / DFS / Topological Sort37.2%75.0%all
270Closest Binary Search Tree ValueEasyTrees; Binary SearchDFS / BFS; Binary Search49.2%75.0%all
289Game of LifeMediumCore DSAImplementation / Reasoning72.6%75.0%all
312Burst BalloonsHardCore DSAImplementation / Reasoning63.5%75.0%all
314Binary Tree Vertical Order TraversalMediumTreesDFS / BFS57.8%75.0%all
377Combination Sum IVMediumArrays; BacktrackingSorting / Prefix / Scan; Backtracking55.1%75.0%all
402Remove K DigitsMediumCore DSAImplementation / Reasoning36.9%75.0%all
403Frog JumpHardGreedyGreedy47.3%75.0%all
439Ternary Expression ParserMediumCore DSAImplementation / Reasoning62.6%75.0%all
443String CompressionMediumStringsHashing / Sliding Window60.0%75.0%all
527Word AbbreviationHardStringsHashing / Sliding Window62.7%75.0%all
1754Largest Merge Of Two StringsMediumArrays; StringsSorting / Prefix / Scan; Hashing / Sliding Window53.9%75.0%all
964Least Operators to Express NumberHardCore DSAImplementation / Reasoning48.5%75.0%all
803Bricks Falling When HitHardCore DSAImplementation / Reasoning37.2%75.0%all
123Best Time to Buy and Sell Stock IIIHardCore DSAImplementation / Reasoning53.7%62.5%all
207Course ScheduleMediumGraphsBFS / DFS / Topological Sort51.4%62.5%all
399Evaluate DivisionMediumCore DSAImplementation / Reasoning64.2%62.5%all
91Decode WaysMediumDynamic ProgrammingState Transition38.0%62.5%all
296Best Meeting PointHardGreedyGreedy61.4%62.5%all
2316Count Unreachable Pairs of Nodes in an Undirected GraphMediumTrees; GraphsDFS / BFS; BFS / DFS / Topological Sort50.0%62.5%all
56Merge IntervalsMediumArraysSorting / Prefix / Scan51.8%50.0%all
231Power of TwoEasyCore DSAImplementation / Reasoning50.1%50.0%all
1249Minimum Remove to Make Valid ParenthesesMediumArrays; StringsSorting / Prefix / Scan; Hashing / Sliding Window71.5%50.0%all
1293Shortest Path in a Grid with Obstacles EliminationHardTreesDFS / BFS46.3%50.0%all
49Group AnagramsMediumStringsHashing / Sliding Window72.6%50.0%all
143Reorder ListMediumLinked ListTwo Pointers65.3%50.0%all
212Word Search IIHardStrings; Binary SearchHashing / Sliding Window; Binary Search38.5%50.0%all
211Design Add and Search Words Data StructureMediumStrings; Binary Search; DesignHashing / Sliding Window; Binary Search; Data Structure Design48.5%50.0%all
460LFU CacheHardDesignData Structure Design49.2%50.0%all
780Reaching PointsHardCore DSAImplementation / Reasoning34.4%50.0%all
224Basic CalculatorHardStack / QueueMonotonic Stack / Simulation46.9%50.0%all
79Word SearchMediumStrings; Binary SearchHashing / Sliding Window; Binary Search47.4%37.5%all
124Binary Tree Maximum Path SumHardArrays; TreesSorting / Prefix / Scan; DFS / BFS42.3%37.5%all
2097Valid Arrangement of PairsHardStringsHashing / Sliding Window66.6%37.5%all
1268Search Suggestions SystemMediumBinary SearchBinary Search65.2%37.5%all
721Accounts MergeMediumArraysSorting / Prefix / Scan61.3%37.5%all
787Cheapest Flights Within K StopsMediumHeapPriority Queue41.8%37.5%all
856Score of ParenthesesMediumStringsHashing / Sliding Window63.6%37.5%all
528Random Pick with WeightMediumCore DSAImplementation / Reasoning49.1%37.5%all
1472Design Browser HistoryMediumDesignData Structure Design78.3%37.5%all
973K Closest Points to OriginMediumCore DSAImplementation / Reasoning69.0%37.5%all
490The MazeMediumCore DSAImplementation / Reasoning60.4%37.5%all
238Product of Array Except SelfMediumArraysSorting / Prefix / Scan68.9%37.5%all
33Search in Rotated Sorted ArrayMediumArrays; Binary SearchSorting / Prefix / Scan; Binary Search44.9%37.5%all
1091Shortest Path in Binary MatrixMediumArraysSorting / Prefix / Scan51.5%37.5%all
3014Minimum Number of Pushes to Type Word IEasyArrays; StringsSorting / Prefix / Scan; Hashing / Sliding Window67.1%37.5%all
17Letter Combinations of a Phone NumberMediumStrings; BacktrackingHashing / Sliding Window; Backtracking66.1%37.5%all
1146Snapshot ArrayMediumArraysSorting / Prefix / Scan36.8%37.5%all
67Add BinaryEasyCore DSAImplementation / Reasoning58.1%37.5%all
1639Number of Ways to Form a Target String Given a DictionaryHardStringsHashing / Sliding Window56.5%37.5%all
3Longest Substring Without Repeating CharactersMediumStrings; TreesHashing / Sliding Window; DFS / BFS; Sliding Window39.1%37.5%all
64Minimum Path SumMediumArrays; TreesSorting / Prefix / Scan; DFS / BFS68.2%37.5%all
1074Number of Submatrices That Sum to TargetHardArraysSorting / Prefix / Scan74.6%37.5%all
393UTF-8 ValidationMediumStringsHashing / Sliding Window46.3%37.5%all
480Sliding Window MedianHardHeapPriority Queue; Sliding Window39.0%37.5%all
886Possible BipartitionMediumDynamic ProgrammingState Transition52.6%37.5%all
947Most Stones Removed with Same Row or ColumnMediumCore DSAImplementation / Reasoning62.9%37.5%all
166Fraction to Recurring DecimalMediumCore DSAImplementation / Reasoning30.9%37.5%all