Snowflake logo SN
Verified Company Vault 30d Active

Snowflake DSA Interview Questions

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

99 Total Questions
13 (13%) Easy Problems
66 (67%) Medium Problems
20 (20%) Hard Problems
🔥 Most Tested Topics:
Core DSA (30)Strings (17)Arrays (17)Trees (13)Design (10)
📂 Sourced Datasets:
Last 30 daysLast 3 monthsLast 6 monthsAll questionsOlder than 6 months
Showing 99 of 99 displayed
IDProblemDifficultyTopicPatternAcceptanceFrequencyRecency
2050Parallel Courses IIIHardGraphsBFS / DFS / Topological Sort66.8%100.0%30d
1600Throne InheritanceMediumCore DSAImplementation / Reasoning67.4%87.5%30d
2062Count Vowel Substrings of a StringEasyStrings; TreesHashing / Sliding Window; DFS / BFS73.2%87.5%30d
3092Most Frequent IDsMediumCore DSAImplementation / Reasoning42.8%87.5%30d
588Design In-Memory File SystemHardDesignData Structure Design48.4%87.5%30d
210Course Schedule IIMediumGraphsBFS / DFS / Topological Sort55.5%87.5%3m
438Find All Anagrams in a StringMediumStringsHashing / Sliding Window53.8%87.5%6m
76Minimum Window SubstringHardArrays; Strings; TreesSorting / Prefix / Scan; Hashing / Sliding Window; DFS / BFS; Sliding Window47.5%87.5%all
2742Painting the WallsHardCore DSAImplementation / Reasoning49.1%75.0%3m
202Happy NumberEasyCore DSAImplementation / Reasoning59.7%75.0%3m
243Shortest Word DistanceEasyStringsHashing / Sliding Window66.3%75.0%3m
695Max Area of IslandMediumGraphsBFS / DFS / Topological Sort74.0%75.0%3m
641Design Circular DequeMediumDesignData Structure Design64.7%75.0%3m
1472Design Browser HistoryMediumDesignData Structure Design78.3%75.0%3m
827Making A Large IslandHardGraphsBFS / DFS / Topological Sort56.6%75.0%3m
1353Maximum Number of Events That Can Be AttendedMediumArraysSorting / Prefix / Scan39.0%75.0%3m
211Design Add and Search Words Data StructureMediumStrings; Binary Search; DesignHashing / Sliding Window; Binary Search; Data Structure Design48.5%75.0%3m
2096Step-By-Step Directions From a Binary Tree Node to AnotherMediumTreesDFS / BFS56.4%75.0%3m
71Simplify PathMediumCore DSAImplementation / Reasoning50.6%75.0%3m
1236Web CrawlerMediumCore DSAImplementation / Reasoning68.8%75.0%6m
1136Parallel CoursesMediumGraphsBFS / DFS / Topological Sort62.2%75.0%6m
706Design HashMapEasyDesignData Structure Design66.6%75.0%6m
1235Maximum Profit in Job SchedulingHardArraysSorting / Prefix / Scan54.7%75.0%6m
545Boundary of Binary TreeMediumTreesDFS / BFS48.1%75.0%6m
261Graph Valid TreeMediumStrings; Trees; GraphsHashing / Sliding Window; DFS / BFS; BFS / DFS / Topological Sort50.0%75.0%6m
347Top K Frequent ElementsMediumHeapPriority Queue66.4%75.0%6m
2856Minimum Array Length After Pair RemovalsMediumArraysSorting / Prefix / Scan27.5%75.0%all
1639Number of Ways to Form a Target String Given a DictionaryHardStringsHashing / Sliding Window56.5%75.0%all
2303Calculate Amount Paid in TaxesEasyCore DSAImplementation / Reasoning69.3%75.0%all
3177Find the Maximum Length of a Good Subsequence IIHardArraysSorting / Prefix / Scan25.2%75.0%all
3176Find the Maximum Length of a Good Subsequence IMediumArraysSorting / Prefix / Scan32.8%75.0%all
3155Maximum Number of Upgradable ServersMediumArraysSorting / Prefix / Scan43.5%75.0%all
2851String TransformationHardStringsHashing / Sliding Window27.2%75.0%all
23Merge k Sorted ListsHardArrays; Linked List; HeapSorting / Prefix / Scan; Two Pointers; Priority Queue59.6%75.0%all
1242Web Crawler MultithreadedMediumCore DSAImplementation / Reasoning51.2%62.5%6m
45Jump Game IIMediumGreedyGreedy42.9%62.5%6m
841Keys and RoomsMediumCore DSAImplementation / Reasoning75.8%62.5%6m
42Trapping Rain WaterHardCore DSATwo Pointers67.4%62.5%6m
1146Snapshot ArrayMediumArraysSorting / Prefix / Scan36.8%62.5%6m
212Word Search IIHardStrings; Binary SearchHashing / Sliding Window; Binary Search38.5%62.5%6m
207Course ScheduleMediumGraphsBFS / DFS / Topological Sort51.4%62.5%6m
146LRU CacheMediumDesignData Structure Design47.4%62.5%6m
21Merge Two Sorted ListsEasyArrays; Linked ListSorting / Prefix / Scan; Two Pointers68.3%62.5%all
981Time Based Key-Value StoreMediumCore DSAImplementation / Reasoning49.9%62.5%all
224Basic CalculatorHardStack / QueueMonotonic Stack / Simulation46.9%62.5%all
362Design Hit CounterMediumDesignData Structure Design69.7%62.5%all
621Task SchedulerMediumGreedyGreedy63.1%62.5%all
138Copy List with Random PointerMediumLinked ListTwo Pointers62.9%62.5%all
849Maximize Distance to Closest PersonMediumCore DSAImplementation / Reasoning49.8%62.5%all
1Two SumEasyArraysSorting / Prefix / Scan; Two Pointers57.5%62.5%all
1233Remove Sub-Folders from the FilesystemMediumCore DSAImplementation / Reasoning78.6%62.5%all
3880Minimum Absolute Difference Between Two ValuesEasyArraysSorting / Prefix / Scan66.5%62.5%all
10Regular Expression MatchingHardCore DSAImplementation / Reasoning31.0%50.0%all
116Populating Next Right Pointers in Each NodeMediumTreesDFS / BFS67.2%50.0%all
273Integer to English WordsHardStringsHashing / Sliding Window35.0%50.0%all
787Cheapest Flights Within K StopsMediumHeapPriority Queue41.8%50.0%all
380Insert Delete GetRandom O(1)MediumCore DSAImplementation / Reasoning55.4%50.0%all
2265Count Nodes Equal to Average of SubtreeMediumTreesDFS / BFS86.8%50.0%all
872Leaf-Similar TreesEasyTreesDFS / BFS70.2%50.0%all
155Min StackMediumStack / QueueMonotonic Stack / Simulation58.2%50.0%all
528Random Pick with WeightMediumCore DSAImplementation / Reasoning49.1%50.0%all
295Find Median from Data StreamHardHeapPriority Queue54.5%50.0%all
52N-Queens IIHardBacktrackingBacktracking78.7%50.0%all
687Longest Univalue PathMediumCore DSAImplementation / Reasoning43.9%50.0%all
540Single Element in a Sorted ArrayMediumArraysSorting / Prefix / Scan59.3%50.0%all
13Roman to IntegerEasyStringsHashing / Sliding Window66.6%50.0%all
917Reverse Only LettersEasyStringsHashing / Sliding Window68.5%50.0%all
947Most Stones Removed with Same Row or ColumnMediumCore DSAImplementation / Reasoning62.9%50.0%all
1751Maximum Number of Events That Can Be Attended IIHardArraysSorting / Prefix / Scan63.5%50.0%all
635Design Log Storage SystemMediumDesignData Structure Design59.6%50.0%all
994Rotting OrangesMediumCore DSAImplementation / Reasoning58.7%50.0%all
1494Parallel Courses IIHardGraphsBFS / DFS / Topological Sort31.0%50.0%all
117Populating Next Right Pointers in Each Node IIMediumTreesDFS / BFS57.6%37.5%all
227Basic Calculator IIMediumStack / QueueMonotonic Stack / Simulation46.9%37.5%all
253Meeting Rooms IIMediumGreedyGreedy52.7%37.5%all
271Encode and Decode StringsMediumStrings; Dynamic Programming; Stack / QueueHashing / Sliding Window; State Transition; Monotonic Stack / Simulation51.6%37.5%all
1898Maximum Number of Removable CharactersMediumArrays; StringsSorting / Prefix / Scan; Hashing / Sliding Window47.2%37.5%all
11Container With Most WaterMediumCore DSATwo Pointers60.0%37.5%all
139Word BreakMediumStrings; Dynamic ProgrammingHashing / Sliding Window; State Transition49.5%37.5%all
105Construct Binary Tree from Preorder and Inorder TraversalMediumTreesDFS / BFS68.8%37.5%all
2467Most Profitable Path in a TreeMediumTreesDFS / BFS67.3%37.5%all
408Valid Word AbbreviationEasyStringsHashing / Sliding Window37.0%37.5%all
208Implement Trie (Prefix Tree)MediumTreesDFS / BFS69.5%37.5%all
286Walls and GatesMediumCore DSAImplementation / Reasoning64.0%37.5%all
1631Path With Minimum EffortMediumArraysSorting / Prefix / Scan63.2%37.5%all
402Remove K DigitsMediumCore DSAImplementation / Reasoning36.9%37.5%all
121Best Time to Buy and Sell StockEasyCore DSAImplementation / Reasoning56.8%37.5%all
435Non-overlapping IntervalsMediumArrays; GreedySorting / Prefix / Scan; Greedy57.1%37.5%all
881Boats to Save PeopleMediumCore DSAImplementation / Reasoning61.8%37.5%all
79Word SearchMediumStrings; Binary SearchHashing / Sliding Window; Binary Search47.4%37.5%all
729My Calendar IMediumCore DSAImplementation / Reasoning58.3%37.5%all
1604Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumCore DSAImplementation / Reasoning46.3%37.5%all
622Design Circular QueueMediumStack / Queue; DesignMonotonic Stack / Simulation; Data Structure Design54.7%37.5%all
1166Design File SystemMediumDesignData Structure Design65.1%37.5%all
276Paint FenceMediumCore DSAImplementation / Reasoning48.4%37.5%all
2Add Two NumbersMediumCore DSAImplementation / Reasoning48.5%37.5%all
490The MazeMediumCore DSAImplementation / Reasoning60.4%37.5%all
1057Campus BikesMediumCore DSAImplementation / Reasoning59.1%37.5%all
2458Height of Binary Tree After Subtree Removal QueriesHardTreesDFS / BFS54.9%37.5%all