Snowflake Interview Prep

Snowflake has the largest reported question list of this group and the most classically demanding one. The top of the list is dominated by Hard problems and by things that look like pieces of a query engine: Parallel Courses III and Course Schedule II are dependency scheduling, Design In-Memory File System is a storage hierarchy, Basic Calculator is an expression parser, Maximum Profit in Job Scheduling is resource allocation. That is not a coincidence — Snowflake builds a database, and the interview tests the fundamentals that building one requires.

Expect strong CS fundamentals to be probed directly rather than inferred from your code. Concurrency shows up in coding rounds. Design rounds go to storage and compute separation, query execution, and caching. Mid and senior loops often add a project presentation round. Candidates who prepare purely on LeetCode patterns and cannot discuss how an index, a transaction, or a query plan works tend to come unstuck.


Interview Process

Stage Duration Focus
Recruiter or HM Screen 30 min Background, level, team
Online Assessment 60-90 min Campus and some lateral loops
Technical Screen 60 min Coding, sometimes with design follow-ups
Onsite: Coding 1 60 min Implementation, often stateful or concurrent
Onsite: Coding 2 60 min Harder problem plus CS fundamentals
Onsite: System Design 60 min Storage and compute, query execution
Onsite: Project Presentation 45-60 min Mid and senior loops
Onsite: Behavioural / Values 45 min Ownership, customer focus, follow-through

The loop varies noticeably by org — core database and infrastructure teams push much harder on systems fundamentals and concurrency than platform or application teams do. Some candidates report an automated or AI-conducted screening step early on, and some loops substitute a director conversation for the presentation round. Ask which org you are interviewing with, because it changes what to revise.


What Snowflake Actually Tests

Derived from 101 reported Snowflake-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 13 13%
Medium 68 67%
Hard 20 20%

Hard problems are a real but minority share. Medium fluency wins most rounds; Hard shows up late in the loop.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Graphs 15 15%
2 Trees 12 12%
3 Design (Coding) 12 12%
4 Dynamic Programming 11 11%
5 Sliding Window & Two Pointers 8 8%
6 Tries & String Search 8 8%
7 Arrays & Hashing 7 7%
8 Heap / Priority Queue 7 7%
9 Strings 6 6%
10 Stack & Monotonic Stack 5 5%

Snowflake Signature Problems

These rank high on Snowflake’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Parallel Courses III DAG + Topological Sort Hard 9 of 142 LeetCode →
2 Design In-Memory File System Trie + Design Hard 13 of 142 LeetCode →
3 Painting the Walls DP Hard 5 of 142 LeetCode →
4 Throne Inheritance Design + Tree Medium 2 of 142 LeetCode →
5 Calculate Amount Paid in Taxes Simulation + Array Easy 5 of 142 LeetCode →
6 Step-By-Step Directions From a Binary Tree Node to Another Lowest Common Ancestor + Binary Lifting Medium 6 of 142 LeetCode →
7 String Transformation String Matching + DP Hard 3 of 142 LeetCode →
8 Number of Ways to Form a Target String Given a Dictionary DP Hard 8 of 142 LeetCode →
9 Parallel Courses DAG + Topological Sort Medium 7 of 142 Solve →
10 Shortest Word Distance String + Array Easy 6 of 142 LeetCode →
11 Web Crawler Interactive + BFS Medium 6 of 142 LeetCode →
12 Web Crawler Multithreaded Concurrency + BFS Medium 7 of 142 LeetCode →
13 Design Log Storage System Ordered Set + Design Medium 4 of 142 LeetCode →
14 Most Frequent IDs Ordered Set + Heap Medium 2 of 142 LeetCode →

If you are short on time, these carry more Snowflake-specific signal per hour than the universal top-100 lists.


Reported in the Last Six Months

The recency-filtered slice of Snowflake’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.

# Problem Pattern Difficulty Link
1 Parallel Courses III DAG + Topological Sort Hard LeetCode →
2 Design In-Memory File System Trie + Design Hard LeetCode →
3 Course Schedule II Topological Sort + Graph Medium Solve →
4 Happy Number Floyd Cycle + Two Pointers Easy Solve →
5 Throne Inheritance Design + Tree Medium LeetCode →
6 Trapping Rain Water Monotonic Stack + Two Pointers Hard Solve →
7 Count Vowel Substrings of a String Hash Table + String Easy Solve →
8 Calculate Amount Paid in Taxes Simulation + Array Easy LeetCode →
9 Shortest Word Distance String + Array Easy LeetCode →
10 Step-By-Step Directions From a Binary Tree Node to Another Lowest Common Ancestor + Binary Lifting Medium LeetCode →
11 Boundary of Binary Tree Binary Tree + DFS Medium Solve →
12 Construct Quad Tree Divide and Conquer + Tree Medium LeetCode →
13 Count Nodes Equal to Average of Subtree Binary Tree + DFS Medium Solve →
14 Course Schedule DAG + Topological Sort Medium Solve →
15 Design Add and Search Words Data Structure Trie + Design Medium Solve →

System Design (HLD) Problems Asked at Snowflake

# Problem Difficulty Link
1 Distributed Key-Value Store (Storage Layer) Advanced Read →
2 Distributed Cache (Result and Warehouse Cache) Intermediate Read →
3 Message Queue (Continuous Ingest) Advanced Read →
4 File Storage and Sync (Object Storage Layout) Advanced Read →
5 Distributed Job Scheduler (Tasks and Queries) Advanced Read →
6 Unique ID Generator (Transaction Versions) Beginner Read →
7 Ad Click Aggregation (Analytics at Scale) Advanced Read →
8 Metrics and Monitoring System Intermediate Read →
9 Rate Limiter (Per-account Query Limits) Beginner Read →

LLD / Machine Coding Problems Asked at Snowflake

There is no separate machine coding round, but the coding rounds frequently ask for a data structure built to a spec and then made thread-safe. Design In-Memory File System sits near the top of the tagged list and is the archetype: a hierarchy, an API, and correct complexity for every operation.

# Problem Difficulty Link
1 File System (In-Memory File System) Intermediate Read →
2 Multilevel Cache Intermediate Read →
3 Queue Management Intermediate Read →
4 Task Scheduler Intermediate Read →
5 Rate Limiter Intermediate Read →

DSA Problems Asked at Snowflake

88 problems across 12 pattern groups. Each group is allocated in proportion to its real share of Snowflake’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 13 on the list.

# Problem Pattern Difficulty Link
1 Parallel Courses III DAG + Topological Sort Hard LeetCode →
2 Course Schedule II Topological Sort + Graph Medium Solve →
3 Course Schedule DAG + Topological Sort Medium Solve →
4 Parallel Courses DAG + Topological Sort Medium Solve →
5 Max Area of Island Union-Find + BFS Medium Solve →
6 Keys and Rooms Graph + BFS Medium LeetCode →
7 Cheapest Flights Within K Stops Shortest Path + Graph Medium Solve →
8 Graph Valid Tree Union-Find + Graph Medium Solve →
9 Making A Large Island Union-Find + BFS Hard Solve →
10 Most Stones Removed with Same Row or Column Bipartite Graph + Union-Find Medium Solve →
11 Parallel Courses II Bitmask + DAG Hard LeetCode →
12 Most Profitable Path in a Tree Graph + Tree Medium LeetCode →
13 Number of Islands Union-Find + BFS Medium Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 12 on the list.

# Problem Pattern Difficulty Link
14 Design Hit Counter Data Stream + Queue Medium Solve →
15 LRU Cache Doubly Linked List + Design Medium Solve →
16 Time Based Key-Value Store Design + Binary Search Medium Solve →
17 Design Log Storage System Ordered Set + Design Medium LeetCode →
18 Insert Delete GetRandom O(1) Randomized + Design Medium LeetCode →
19 Min Stack Design + Stack Medium Solve →
20 Snapshot Array Persistent Data Structure + Design Medium Solve →
21 Design Circular Deque Queue + Linked List Medium Solve →
22 Design Browser History Data Stream + Doubly Linked List Medium Solve →
23 Design Circular Queue Queue + Linked List Medium Solve →
24 Encode and Decode Strings Design Medium LeetCode →
25 Find Median from Data Stream Data Stream + Design Hard Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 11 on the list.

# Problem Pattern Difficulty Link
26 Step-By-Step Directions From a Binary Tree Node to Another Lowest Common Ancestor + Binary Lifting Medium LeetCode →
27 Throne Inheritance Design + Tree Medium LeetCode →
28 Boundary of Binary Tree Binary Tree + DFS Medium Solve →
29 Count Nodes Equal to Average of Subtree Binary Tree + DFS Medium Solve →
30 Longest Univalue Path DP on Trees + Binary Tree Medium Solve →
31 Populating Next Right Pointers in Each Node Linked List + Binary Tree Medium LeetCode →
32 Construct Binary Tree from Preorder and Inorder Traversal Divide and Conquer + Binary Tree Medium LeetCode →
33 Construct Quad Tree Divide and Conquer + Tree Medium LeetCode →
34 Height of Binary Tree After Subtree Removal Queries Binary Tree + BFS Hard LeetCode →
35 Leaf-Similar Trees Binary Tree + DFS Easy LeetCode →
36 My Calendar I Segment Tree + Ordered Set Medium LeetCode →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 10 on the list.

# Problem Pattern Difficulty Link
37 Trapping Rain Water Monotonic Stack + Two Pointers Hard Solve →
38 Painting the Walls DP Hard LeetCode →
39 Maximum Profit in Job Scheduling Binary Search + DP Hard Solve →
40 Find the Maximum Length of a Good Subsequence I DP Medium LeetCode →
41 Number of Ways to Form a Target String Given a Dictionary DP Hard LeetCode →
42 Find the Maximum Length of a Good Subsequence II DP Hard LeetCode →
43 Maximum Number of Events That Can Be Attended II Binary Search + DP Hard LeetCode →
44 Regular Expression Matching DP Hard Solve →
45 Best Time to Buy and Sell Stock DP Easy Solve →
46 Jump Game II Greedy + DP Medium Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 8 on the list.

# Problem Pattern Difficulty Link
47 Design In-Memory File System Trie + Design Hard LeetCode →
48 Word Search II Trie + Backtracking Hard LeetCode →
49 String Transformation String Matching + DP Hard LeetCode →
50 Design Add and Search Words Data Structure Trie + Design Medium Solve →
51 Design HashMap Hash Function + Linked List Easy Solve →
52 Remove Sub-Folders from the Filesystem Trie + DFS Medium LeetCode →
53 Design File System Trie + Design Medium LeetCode →
54 Implement Trie (Prefix Tree) Trie + Design Medium Solve →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 7 on the list.

# Problem Pattern Difficulty Link
55 Merge k Sorted Lists Tournament Sort + Merge Sort Hard Solve →
56 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
57 Maximum Number of Events That Can Be Attended Heap + Greedy Medium Solve →
58 Task Scheduler Heap + Greedy Medium Solve →
59 Campus Bikes Heap Medium LeetCode →
60 Most Frequent IDs Ordered Set + Heap Medium LeetCode →
61 Meeting Rooms II Prefix Sum + Heap Medium Solve →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 6 on the list.

# Problem Pattern Difficulty Link
62 Happy Number Floyd Cycle + Two Pointers Easy Solve →
63 Minimum Window Substring Sliding Window Hard Solve →
64 Find All Anagrams in a String Sliding Window Medium Solve →
65 Reverse Only Letters Two Pointers Easy LeetCode →
66 Boats to Save People Timsort + Greedy Medium Solve →
67 Container With Most Water Greedy + Two Pointers Medium Solve →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 6 on the list.

# Problem Pattern Difficulty Link
68 Count Vowel Substrings of a String Hash Table + String Easy Solve →
69 Shortest Word Distance String + Array Easy LeetCode →
70 Web Crawler Interactive + BFS Medium LeetCode →
71 Integer to English Words Recursion + Math Hard Solve →
72 Roman to Integer Math + Hash Table Easy Solve →
73 Alert Using Same Key-Card Three or More Times in a One Hour Period Sorting + Hash Table Medium LeetCode →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 5 on the list.

# Problem Pattern Difficulty Link
74 Calculate Amount Paid in Taxes Simulation + Array Easy LeetCode →
75 Minimum Absolute Difference Between Two Values Enumeration + Array Easy LeetCode →
76 Two Sum Hash Table + Array Easy Solve →
77 Maximize Distance to Closest Person Array Medium Solve →
78 Rotting Oranges BFS Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 4 on the list.

# Problem Pattern Difficulty Link
79 Basic Calculator Stack Hard Solve →
80 Simplify Path Stack Medium Solve →
81 Basic Calculator II Stack Medium Solve →
82 Decode String Stack Medium Solve →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.

# Problem Pattern Difficulty Link
83 Maximum Number of Upgradable Servers Binary Search Medium LeetCode →
84 Minimum Array Length After Pair Removals Binary Search + Greedy Medium LeetCode →
85 Single Element in a Sorted Array Binary Search Medium Solve →

Linked List

Pointer surgery under time pressure. Draw the nodes before you write the reassignments. All 3 on the list.

# Problem Pattern Difficulty Link
86 Copy List with Random Pointer Linked List Medium LeetCode →
87 Merge Two Sorted Lists Linked List Easy Solve →
88 Add Two Numbers Linked List Medium Solve →

Snowflake’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Graphs Very High 13 (14%) Parallel Courses III, Course Schedule II, Course Schedule
2 Design (Coding) High 12 (13%) Design Hit Counter, LRU Cache, Time Based Key-Value Store
3 Trees High 11 (12%) Step-By-Step Directions From a Binary Tree Node to Another, Throne Inheritance, Boundary of Binary Tree
4 Dynamic Programming Medium-High 10 (11%) Trapping Rain Water, Painting the Walls, Maximum Profit in Job Scheduling
5 Tries & String Search Medium-High 8 (9%) Design In-Memory File System, Word Search II, String Transformation
6 Heap / Priority Queue Medium-High 7 (8%) Merge k Sorted Lists, Top K Frequent Elements, Maximum Number of Events That Can Be Attended
7 Sliding Window & Two Pointers Medium 6 (7%) Happy Number, Minimum Window Substring, Find All Anagrams in a String
8 Strings Medium 6 (7%) Count Vowel Substrings of a String, Shortest Word Distance, Web Crawler
9 Arrays & Hashing Medium 5 (6%) Calculate Amount Paid in Taxes, Minimum Absolute Difference Between Two Values, Two Sum
10 Stack & Monotonic Stack Medium 4 (4%) Basic Calculator, Simplify Path, Basic Calculator II

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Graphs, Design (Coding), Trees covers the bulk of what Snowflake actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Fundamentals They Actually Probe

Snowflake interviewers ask about these directly, not as a follow-up to a coding problem. Being able to discuss them fluently is the highest-leverage preparation that is not on any problem list.

Area What gets asked The short answer to have ready
Indexing Why a B-tree rather than a hash index Ordered structure supports range scans and prefix lookups; a hash index only answers point queries
Transactions Isolation levels and what each one permits Read committed, repeatable read, snapshot, serialisable, and the anomaly each one still allows
Concurrency control Locking versus MVCC MVCC lets readers see a consistent snapshot without blocking writers, at the cost of version storage and cleanup
Durability Why a write-ahead log exists Sequential append is cheap and makes crash recovery a replay rather than a repair
Joins Hash join, merge join, nested loop Hash for unsorted equality joins, merge when both sides are sorted, nested loop only for tiny inputs or non-equality predicates
Query planning How a planner chooses Cardinality estimates from statistics, cost model over access paths and join orders, then pick the cheapest plan
Partitioning Pruning and skew Prune with min and max metadata per partition; handle skew by salting the key or repartitioning the hot value
Caching What is safe to cache Immutable data and query results keyed on the exact plan and data version; invalidate by version, never by time alone
Threads Where contention appears Shared mutable state, lock granularity, false sharing, and why a lock-free queue is not automatically faster

If your loop is with a core database or infrastructure team, go a level deeper on the first five rows. For platform and application teams, breadth across the table is enough.


The Project Presentation Round

Mid and senior loops frequently add a round where you present a project to several engineers. It is not a formality and it is not your resume read aloud.

Structure that works, in about twenty-five minutes with questions throughout:

  1. The problem and who had it. Two minutes. Business context before architecture.
  2. The constraints. Scale, latency, correctness guarantees, cost, deadline. This is what makes the design defensible later.
  3. The architecture. One diagram. Services, stores, and the data flow between them. Say where the data is partitioned and why.
  4. The hard decision. Pick one genuine fork, present both branches and the evidence you used. This is the part the room is actually evaluating.
  5. The outcome, measured. Before and after numbers if you have them. Say plainly if you do not rather than estimating.
  6. What you would change. Short and honest.

Two failure modes to avoid: spending fifteen minutes on context before showing any design, and presenting a team achievement without ever saying what you personally built. Expect interruptions — they are the interview, not a derailment, so leave slack in the plan for them.


Behavioural Round

# Question
1 Tell me about a time you dug into a system until you found the actual cause.
2 Tell me about something you owned that nobody asked you to own.
3 Tell me about a time you had to finish something unglamorous to get a release out.
4 Tell me about a time a customer problem changed your technical priorities.
5 Tell me about a performance regression you found and fixed.
6 Tell me about a time you disagreed with a design and were later proven right or wrong.
7 Tell me about a time you had to learn a new domain quickly.

Snowflake’s stated values include Put Customers First, Own It, Get It Done, and Integrity Always. The round rewards follow-through: stories that end with a shipped, measured outcome rather than a plan. If your loop includes a project presentation, prepare it as a talk with slides and expect interruptions throughout.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Graphs (part 1) Parallel Courses III, Course Schedule II, Course Schedule
2 Graphs (part 2) Parallel Courses, Max Area of Island, Keys and Rooms
3 Design (Coding) (part 1) Design Hit Counter, LRU Cache, Time Based Key-Value Store
4 Design (Coding) (part 2) Design Log Storage System, Insert Delete GetRandom O(1), Min Stack
5 Trees (part 1) Step-By-Step Directions From a Binary Tree Node to Another, Throne Inheritance, Boundary of Binary Tree
6 Trees (part 2) Count Nodes Equal to Average of Subtree, Longest Univalue Path, Populating Next Right Pointers in Each Node
7 Dynamic Programming Trapping Rain Water, Painting the Walls, Maximum Profit in Job Scheduling
8 Tries & String Search Design In-Memory File System, Word Search II, String Transformation
9 Heap / Priority Queue Merge k Sorted Lists, Top K Frequent Elements, Maximum Number of Events That Can Be Attended
10 Sliding Window & Two Pointers Happy Number, Minimum Window Substring, Find All Anagrams in a String
11 Strings Count Vowel Substrings of a String, Shortest Word Distance, Web Crawler
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Snowflake Interviews

  1. Revise database internals, not just algorithms. Indexes and why a B-tree beats a hash index for range scans, MVCC and snapshot isolation, write-ahead logging, join algorithms, and how a query planner picks between them. This is the preparation that separates candidates here.
  2. Treat Hard problems as the baseline. The top of the tagged list is Hard-heavy. Trapping Rain Water, Minimum Window Substring, Word Search II, and Painting the Walls are all reported frequently, and the easier entries are warm-ups rather than the real round.
  3. Drill topological sort until it is automatic. Parallel Courses, Parallel Courses III, Course Schedule, and Course Schedule II all appear high on the list. Dependency ordering with durations is the single most Snowflake-specific pattern in the data.
  4. Practice concurrency in code, not just in theory. Be able to write a bounded blocking queue, a read-write lock usage, or a thread-safe cache in your language of choice, and explain where the contention is.
  5. Anchor the design round on storage and compute separation. Immutable micro-partitions in object storage, a metadata service that knows where everything is and prunes aggressively, and stateless compute clusters that can be resized or suspended. Then layer caching on top.
  6. Have an answer for pruning and skew. How you avoid reading data you do not need, and what happens when one partition is far larger than the rest. Both come up in any serious query-engine discussion.
  7. Expect parsing problems. Basic Calculator, Basic Calculator II, and Simplify Path are all on the list. They are tedious rather than clever, and graded almost entirely on whether you handle the ugly inputs: nested parentheses, unary minus, trailing separators, and empty segments.

Other Company Prep


Snowflake does not publish a single official loop, and reports vary by org, level, and year. The structure above reflects commonly reported patterns. Confirm your rounds with your recruiter.