Snowflake Coding Interview Questions
68 coding questions reported by candidates who interviewed at Snowflake, out of 81 Snowflake questions we track. They average 2.9/5 difficulty (medium). Most common topics: Array, Hashmap, Simulation, BFS. 49 were reported asked within the last year, most recently in October 2026.
Practice Snowflake questions →Difficulty
- 1/5 — warm-up3
- 2/5 — easy12
- 3/5 — medium45
- 4/5 — hard8
Asked for SWE (68), MLE (4), Infra (3)
Reported Snowflake coding questions
Tree Node Deletion → Max Height
3/5Hierarchical data manipulation is a key theme in advanced algorithmic interviews, as demonstrated by this Snowflake tree modification challenge. Given an N-ary tree and a set of nodes targeted for removal, you must compute the maximum resulting height after bypassing deleted nodes and rerouting their descendants. This problem evaluates your depth-first search techniques, tree pointer restructuring, and recursive height calculations. To review the entire problem specification along with the step-by-step solution, a subscription is needed.
asked October 2026DFSDynamic ProgrammingRecursionSET Card Game: Validate a Triple and List All Sets on the Table
2/5A coding round based on a classic pattern-matching card game in which each card carries several attributes. You first decide whether a small group of cards follows the game's matching rule, then find every valid group on a table. The follow-up asks you to beat the obvious cubic search with a hashing idea, and to avoid counting the same group more than once.
asked October 2026HashingCombinatoricsSimulationBoundary of Binary Tree
3/5Encountered in Snowflake interview loops, this tree traversal problem requires you to extract the outer perimeter nodes of a hierarchical data structure in a specific counter-clockwise sequence. You will need to carefully handle left-edge nodes, leaf elements, and reversed right-edge nodes while properly managing edge cases like single-node trees. The exercise tests your structural comprehension and precise pointer manipulation. To view the complete problem breakdown and optimal code solution, a subscription is required.
asked October 2026TreeDFSTraversalRate Limiter — Return Dropped Request Times
3/5Build a robust request throttling algorithm inspired by high-throughput systems interviews at Snowflake. The challenge centers on evaluating incoming temporal event streams against dual sliding-window constraints to identify and log rejected transactions accurately. This problem examines your expertise in handling chronological data streams, maintaining efficient rolling queues, and applying strict threshold logic under high-frequency conditions. The exhaustive problem details and reference implementation are available exclusively to paid subscribers.
asked July 2026Sliding WindowDequeRate LimitingWiki Hopper: List Every Page Reachable by Links
3/5A graph traversal coding question about collecting every page of a linked site that a reader can reach from one starting page. It stresses loops between pages, repeated links, very long chains and a stable result order, and the discussion then turns to making the exploration concurrent.
asked July 2026CodingGraphBFSClosest Bathroom / Desk on a Grid
3/5Calculating shortest paths across a multi-dimensional matrix is the objective of this Snowflake interview question. You are given a grid populated with distinct entities, and your goal is to compute the minimum traversal distance from every designated target cell to the nearest specific resource using standard four-directional steps. This problem tests your proficiency with breadth-first search traversals, multi-source distance propagation, and spatial grid manipulation. Unlock the complete problem statement, test cases, and optimal model solution with a subscription.
asked July 2026BFSGridTwo PointerSort Colors via a RecordCollection API
2/5This Snowflake interview question presents a classic sorting problem with specific API constraints. You are given a collection of records, each assigned one of three distinct color values (0, 1, or 2). The challenge is to reorder these records in place, grouping all colors numerically, using only provided getColor and swap operations. This problem assesses your ability to implement efficient in-place sorting algorithms, particularly variants of the Dutch National Flag problem, under strict time and space complexity requirements. The full problem and model solution require a subscription.
asked June 2026Two PointerArraySortingForest Parent Array: Delete a Node
3/5Tree and forest manipulation problems test your ability to work with pointer-less array representations and hierarchical index mappings. This Snowflake interview question requires you to remove a designated node from a forest encoded via parent pointers while correctly restructuring the remaining hierarchy and maintaining valid index constraints. It examines your grasp of structural invariants and array reindexing logic. The complete problem specification and reference model solution require a subscription.
asked June 2026TreeArrayHashmapFilter System with Dynamic Blacklist
3/5Encountered during Snowflake technical screenings, this algorithmic puzzle challenges you to build a stateful filter that responds dynamically to changing blacklist configurations. You will learn how to handle streaming data while efficiently replaying visibility updates for items that were previously encountered. The problem tests your advanced data structure design and event-driven logic handling. Unlocking the complete problem specification alongside the optimal code solution requires an active subscription.
asked June 2026HashmapSetSimulationReach Target via Add / Double / Halve
3/5This Snowflake interview question asks you to discover a sequence of arithmetic operations to transform one positive integer into another while keeping all intermediate values positive. It tests your capability to construct logical transformation paths using iterative loops rather than standard graph searches. Unlock our subscription to view the complete problem requirements and the optimal model solution.
asked June 2026BFSGreedyMathCalculate Amount Paid in Taxes
1/5In this Snowflake coding interview task, you are tasked with calculating progressive income tax liabilities across a tiered structure of varying brackets and percentages. Candidates must iteratively compute portions of a financial figure that fall into successive boundaries until the total levy is accurately accumulated. This question serves as a straightforward yet practical test of conditional logic and numerical iteration. Access the full problem walkthrough and verified solution by subscribing today.
asked June 2026SimulationMathArrayCourse Schedule with Time / Batches
3/5This reported Snowflake interview challenge extends the classic dependency resolution problem by incorporating individual task durations and prerequisite constraints. Candidates must compute the absolute minimum completion time required to finish all tasks across parallel tracks. This scenario tests advanced graph traversal and dynamic programming techniques under time-sensitive rules. Access to the comprehensive problem breakdown and verified code implementation requires a paid subscription.
asked June 2026Topological SortGraphBFSRewrite Second Tree With Subtree Sums
3/5This Snowflake interview prompt requires you to transform a binary tree by replacing each node value with the aggregated sum of its corresponding subtree from a structurally identical reference tree. The exercise evaluates your grasp of recursive traversal techniques, tree synchronization, and parallel processing considerations for handling heavy computational workloads with limited resources. Designing an efficient propagation strategy is key to passing the evaluation. The full problem and model solution require a subscription.
asked June 2026ConcurrencyDFSRecursionHappy Number
2/5Solve this engaging mathematical puzzle frequently featured in coding evaluations at Snowflake. The task requires you to determine whether a given integer is delightful based on a repetitive digit-squaring transformation that either converges to unity or enters an infinite loop. This problem tests your understanding of cycle detection, numerical manipulation, and efficient state tracking. Practicing this challenge will strengthen your core algorithmic intuition. The complete problem statement and model solution require a subscription.
asked June 2026Cycle DetectionHashmapMathMax Credits with K Non-Overlapping Classes
3/5In this algorithmic interview question reported at Snowflake, candidates must determine the maximum achievable credit by selecting a subset of non-overlapping timed classes subject to a maximum count cap. This variant of weighted interval scheduling tests your dynamic programming and greedy optimization skills under complex resource constraints. You must carefully evaluate time intervals and value tradeoffs to maximize returns without violating overlap rules. The full problem and model solution require a subscription.
asked June 2026Interval SchedulingDynamic ProgrammingBinary SearchConnect Four: Can This Move Win
3/5This Snowflake interview question challenges you to simulate a standard grid game and determine if a freshly placed disc creates a winning line of four consecutive pieces horizontally, vertically, or diagonally. You will need to efficiently check surrounding matrix boundaries and directions while handling invalid placement attempts. The complete problem statement and fully optimized model solution require a subscription to access.
asked June 2026SimulationGridGame EngineEvent Stream Count in Time Range
3/5This Snowflake interview question challenges you to build a data structure capable of ingesting an ordered stream of timestamped events and efficiently answering range frequency queries for any given category. You will need to design an approach that goes beyond a basic linear scan to ensure optimal performance when handling temporal data constraints. Discovering how to balance ingestion speed with retrieval efficiency is key to passing this evaluation. Access to the complete problem breakdown and verified model solution requires a subscription.
asked May 2026Binary SearchHashmapStreamingDAG Allow/Disallow Letter Propagation
3/5Encountered frequently in Snowflake interviews, this graph theory challenge requires you to compute cumulative permissions across a directed acyclic structure. Nodes possess additive and subtractive attributes that propagate downward to all descendants, with strict precedence rules governing conflicts. The problem tests your graph traversal strategies and state propagation logic over hierarchical data. The full problem and model solution require a subscription.
asked May 2026BitmaskGraphSetWiki Page Shortest-Click Path
2/5In this Snowflake interview question, you are asked to determine the shortest navigation path between two web pages within an implicit graph where connections are only revealed through a provided lookup utility. The core challenge is to minimize expensive remote queries while traversing linked nodes and avoiding redundant checks through proper deduplication strategies. This tests your implementation of breadth-first search on dynamically discovered relationships. Review the full problem statement and study the comprehensive model solution by upgrading your subscription.
asked May 2026BFSGraphAPI IntegrationDocument Store with Boolean Predicate Query
4/5As featured in Snowflake technical rounds, this systems-oriented coding challenge asks you to build a lightweight text-storage server capable of processing dynamic insertion commands and evaluating complex boolean logic queries against stored records. You must progress from basic keyword containment checks to parsing intricate logical expressions involving conjunctions and disjunctions over file collections. Efficiently retrieving matching documents requires moving from brute-force scanning to optimized inverted index implementations. The complete problem description and model solution require a subscription.
asked April 2026ParsingInverted IndexHashmapFrontend Grid Game: Robot Eats Candies
3/5In this engaging frontend grid challenge reported from Snowflake, you must build a game class that coordinates a robot navigating a two-dimensional matrix to collect scattered items. The puzzle tests your ability to implement algorithmic pathfinding strategies, manage directional grid movements efficiently, and compute total travel steps under specific spatial rules. To view the complete problem statement, optimal algorithmic approaches, and the verified model solution, a paid subscription is required.
asked March 2026FrontendJavascriptBFSTransactional In-Memory Key-Value Store
4/5Build a robust transactional data store from scratch in this systems-oriented coding challenge reported at Snowflake. You are required to implement core storage operations alongside nested transaction management features like committing and rolling back state changes efficiently. This tests your understanding of scoping, state isolation, and amortized constant-time performance guarantees. Gaining access to the full problem requirements and expert solution requires a subscription.
asked February 2026Data StructureTransactionsConcurrencyString-Command Stream Calculator
3/5Parsing and evaluating sequential instruction streams is a classic systems-level coding challenge frequently featured in technical interviews at cloud data warehousing pioneers like Snowflake. This problem requires building an interpreter that processes textual arithmetic operations while maintaining a dynamic running state and handling potential command structures. Candidates must demonstrate strong string manipulation skills, robust state management, and the ability to gracefully handle edge cases or nested instructions. Unlock the complete problem statement, comprehensive test suites, and expert-authored model solutions with a subscription.
asked February 2026ParsingRecursionStackService Failure Forensics: Logs and Dependencies
3/5Investigate complex system outages by analyzing sorted log files and dependency graphs in this multi-part Snowflake interview exercise. You will apply binary search techniques to pinpoint initial failure indicators and employ graph traversal strategies to map cascading service disruptions across a distributed architecture. This task thoroughly tests your diagnostic thinking and algorithmic efficiency. Access to the full problem text and complete model solution requires a subscription.
asked February 2026Binary SearchGraphBFSFind All Anagrams in a String
3/5Featured as a common Snowflake interview challenge, this problem requires you to locate all starting positions where permutations of a smaller pattern string appear within a larger body of text. The task evaluates your proficiency with sliding window techniques and frequency counting algorithms to optimize performance over extensive character sequences. This exercise is excellent for practicing array and string manipulation under tight constraints. Discover the full problem details and tested model solution with a subscription.
asked February 2026Sliding WindowHashmapStringGrep With Context Lines
3/5Reported as an interview question at Snowflake, this coding challenge requires you to build a utility function that mimics text-search contextual extraction. Given a collection of text strings and a search phrase, your task is to retrieve every matching line along with a specified number of preceding and succeeding neighboring lines while merging overlapping sections into a cohesive sequence. This problem tests your manipulation of arrays, index tracking, and interval merging logic. Unlock the full problem description and complete model solution with a subscription.
asked February 2026String ProcessingSliding WindowStreamingTop-K Search Terms (Per-User Deduped)
3/5Encountered in interview rounds at Snowflake, this data processing challenge asks you to determine the top search terms from an event stream based on unique user engagement rather than total raw frequency, complete with deterministic tie-breaking. It tests your proficiency in hash-based aggregation, frequency counting, and custom sorting strategies over large datasets. Access the full problem details and a robust implementation guide by subscribing.
asked February 2026HashmapSetHeapMeeting Rooms II
3/5This classic scheduling puzzle, frequently featured at Snowflake, requires calculating the absolute minimum number of resource slots necessary to accommodate overlapping time intervals without conflict. You will need to analyze start and end boundaries to determine peak concurrency while correctly handling touching schedules. The problem heavily tests interval manipulation and sorting strategies commonly found in system design and greedy algorithms. Get instant access to the full problem description and optimal solution with a subscription.
asked February 2026HeapSortingIntervalsCheapest Flights Within K Stops
3/5Featured in Snowflake technical interviews, this graph traversal challenge asks you to find the most cost-effective travel route between two locations while strictly capping the number of intermediate connections. It tests your proficiency with weighted pathfinding algorithms, dynamic programming, and managing state constraints within network topologies. Access the comprehensive breakdown, time complexity analysis, and fully working reference solution by subscribing today.
asked February 2026Shortest PathBellman FordBFSK Top-Selling Books Tracker
3/5Design a robust tracking system that continuously aggregates cumulative metrics and efficiently retrieves top-ranking entries after every update. This algorithmic exercise has been reported in recruitment assessments at Snowflake to test proficiency with custom sorting logic, tie-breaking rules, and data structure selection. You will learn how to maintain performance under frequent write and read operations. Unlocking the complete problem specification and verified solution demands a subscription.
asked February 2026HashmapTop KSortingWord Search in a 2-D Grid
3/5This Snowflake interview question evaluates your ability to navigate a character matrix along contiguous horizontal and vertical paths to locate a specific sequence. Candidates must demonstrate proficiency in backtracking and graph traversal techniques to efficiently check possible routes without reusing identical grid positions. Access to the comprehensive problem description and optimal algorithmic implementation requires a subscription.
asked January 2026BacktrackingDFSGridMaximum Number of Events That Can Be Attended
3/5Sharpen your interval scheduling skills with this popular algorithmic challenge frequently asked during Snowflake hiring rounds. You are tasked with maximizing your schedule by selecting optimal participation windows from a collection of overlapping date ranges, attending at most a single obligation per day. This scenario evaluates your capability to combine priority queues and greedy selection logic for optimal resource allocation. Unlocking the detailed problem explanation and production-ready solution requires a paid subscription.
asked January 2026GreedyHeapSortingDesign a Circular Queue
2/5As featured in Snowflake interviews, this coding challenge requires the implementation of a fixed-capacity circular queue data structure supporting standard linear FIFO operations in a wraparound ring. The task evaluates your command over pointers, index arithmetic, and edge-case management when handling buffer overflows and underflows. Successfully building this structure strengthens foundational computer science concepts. To access the full prompt, detailed method requirements, and clean source code solution, a paid subscription is required.
asked January 2026ArrayData StructureQueueConnect-4 Grid: Drop, Remove Groups, Apply Gravity
3/5Presented in Snowflake interviews, this problem tasks you with simulating a dynamic board game where tokens are dropped into columns, matching clusters are cleared, and remaining pieces fall according to physical gravity rules. You will need to implement discrete functions handling placement constraints, neighborhood connectivity checks, and downward shifting matrices. This puzzle tests your multi-step simulation design and 2D grid manipulation proficiency. Unlock the full challenge requirements and robust implementation details with a subscription.
asked January 2026GridSimulationBFSMerge Overlapping Intervals
3/5Featured in Snowflake technical interviews, this classic coding problem challenges you to streamline a collection of numeric ranges by combining any overlapping segments. You will need to design an efficient routine that inspects boundary points and consolidates contiguous or intersecting intervals into a minimal set of distinct boundaries. This exercise thoroughly tests sorting strategies and linear scan logic. The complete problem statement, edge-case analysis, and clean implementation details are available only with a subscription.
asked January 2026ArraySortingIntervalsThrone Inheritance Order
3/5Reported as an interview challenge at Snowflake, this problem requires you to simulate a family hierarchy and maintain a dynamic line of succession. You will need to design a system that handles birth announcements, tracks fatalities without breaking lineage connections, and generates the current inheritance sequence based on preorder tree traversal rules. This exercise evaluates your proficiency with tree-based data structures, object-oriented design, and efficient state management. Access to the full problem text and a comprehensive model solution requires a paid subscription.
asked January 2026TreeDFSSimulationSingle Query Type, Max Revenue in K Minutes
2/5This Snowflake interview question challenges you to optimize resource allocation by evaluating multiple options under a strict time constraint. You must determine which single operation yields the highest financial return when executed repeatedly within a given duration limit. The problem tests your ability to apply basic arithmetic and comparison logic efficiently to find the optimal choice. Unlock the complete problem description and expert model solution by securing a paid subscription today.
asked January 2026GreedyMathArrayRecipe as Contiguous Ingredient Subsequence
4/5Processing sequential data structures to verify the presence of specific sub-elements is the core focus of this Snowflake interview challenge. Given an ordered list of items and a collection of target sequences, your task is to determine which targets appear as uninterrupted, in-order subsequences. Advanced follow-ups push you to optimize space complexity to a strict constant limit and handle incoming data streams dynamically in real time. Accessing the complete problem details, complexity analysis, and model solution requires a subscription.
asked January 2026String MatchingSliding WindowHashingMaximum Profit in Job Scheduling
4/5Reported as a technical challenge at Snowflake, this optimization problem asks you to select a schedule of non-overlapping assignments to achieve maximum financial return. The question evaluates your mastery of dynamic programming combined with efficient searching techniques, such as binary search on sorted intervals. You must carefully weigh overlapping timeframes to determine the most lucrative combination of tasks. Unlock the comprehensive problem description and optimal model solution with a subscription.
asked January 2026Dynamic ProgrammingBinary SearchSortingFind Median from a Data Stream
4/5Highlighted as a frequent interview scenario at Snowflake, this challenge requires building a specialized data structure that efficiently computes the central value of a continuously growing stream of integers. The task examines advanced data structure selection, specifically balancing heap operations to maintain performance during insertions and queries. Developers must optimize both time and space complexity for real-time statistical processing. Gaining access to the in-depth breakdown and clean implementation requires a paid subscription.
asked January 2026HeapData StructureStreaming01 Matrix
3/5This Snowflake reported interview question gives you a grid filled with binary values and requires you to compute the shortest path distance from every single location to the nearest zero cell. You will need to implement a multi-source breadth-first search algorithm to propagate distances outward efficiently across the matrix in optimal time. This problem effectively tests your graph traversal skills and spatial reasoning on grids. Access to the complete problem breakdown and expert model solution requires an active subscription.
asked December 2025BFSDynamic ProgrammingGridIn-Memory File System (LC 588)
3/5Featured in Snowflake engineering interviews, this design task requires implementing a virtual in-memory file system that supports directory creation, path navigation, file content manipulation, and listing contents lexicographically. It tests your ability to model hierarchical trees, design robust node classes, and handle string parsing for absolute directory paths. Unlocking the full problem details, edge-case handling, and robust code implementation requires a paid subscription.
asked December 2025TrieDesignData StructureLongest Univalue Path
3/5Tackle a classic tree traversal problem often featured in Snowflake technical screenings, where you must find the longest continuous sequence of identical values within a binary tree. This challenge assesses your ability to design recursive algorithms that compute metrics across arbitrary branches rather than strictly from root to leaf. You will need to carefully track state and handle overlapping subpaths efficiently. The complete problem description and expert model solution require a subscription.
asked December 2025TreeDFSRecursionValid Parentheses
1/5As a frequently asked Snowflake interview question, this fundamental parsing task requires you to verify whether a sequence of grouping symbols is correctly nested and paired. You will need to process strings efficiently using appropriate data structures like stacks to ensure that every opening symbol has a corresponding closer in the correct order. This problem is a staple for testing basic algorithmic fluency. The full problem description and expert solution are available exclusively to subscribers.
asked December 2025StackStringParsingCopy List with Random Pointer
3/5Master a classic pointer manipulation challenge featured prominently in Snowflake coding assessments. You are given a complex reference structure featuring standard sequential links alongside arbitrary secondary pointers, and your task is to construct a completely independent and accurate clone of the network. This exercise tests your deep understanding of memory references, hash map memoization, and graph duplication techniques without altering the original topology. Access the comprehensive problem statement, visual aids, and optimal solution by subscribing.
asked December 2025Linked ListHashmapSerialize and Deserialize a Dictionary Trie
3/5This data structure challenge, featured in Snowflake technical screenings, focuses on serializing and deserializing a prefix tree containing words. Candidates must design an efficient encoding scheme to flatten a multiway character node hierarchy into a compact string representation, and subsequently reconstruct the exact tree structure from that data. The problem evaluates tree traversal techniques and custom protocol design. Gain full access to the complete prompt and optimal implementation with a subscription.
asked December 2025TrieSerializationData StructurePre-order Traversal Skipping Invalid Nodes
2/5This Snowflake interview question asks you to implement a modified pre-order tree traversal that handles disconnected or skipped nodes. You will need to process hierarchical data where specific elements are marked as inactive, ensuring that their descendants are still visited in the correct sequence through their nearest active ancestors. This exercise tests your recursive depth-first search logic and ability to manipulate parent-child relationships efficiently. Unlock the full problem description and complete model solution with a subscription.
asked December 2025TreeDFSRecursionTwo Encoded Strings Describe the Same Original
4/5Solve a challenging string manipulation puzzle reported during Snowflake technical interviews. The objective is to determine whether two compressed string representations, where hidden segments are denoted by their numeric lengths, could potentially expand into the exact same original text. This problem evaluates your string parsing abilities, algorithmic thinking, and edge-case handling. The complete problem description, rigorous test suite, and clean model solution require a subscription.
asked December 2025Dynamic ProgrammingMemoizationRecursionValid Tic-Tac-Toe State (N×N Extension)
3/5Explore an advanced grid-based validation puzzle often featured in Snowflake technical interviews. This algorithmic challenge requires you to determine if a generalized board configuration could realistically occur through a legal sequence of alternating player turns. You will need to apply combinatorial logic and board-state analysis to verify winning conditions and rule compliance across arbitrary dimensions. Access the full problem details and expertly crafted solution with an active subscription.
asked November 2025SimulationMathArrayCross the Threshold
3/5Find the largest uniform reduction you can apply to a set of particle energies while keeping their clamped total at or above a required level. Asked at Snowflake, the clamping at zero makes the total a monotone step function of the reduction, which is exactly the structure a binary search needs. You will prove monotonicity before searching, bound the search range sensibly, and handle the case where even a zero reduction misses the target. The full problem and the model solution require a subscription.
ArrayBinary SearchMathServer Investment
3/5Decide how many machines across several sites you can afford to harden, where each site has its own budget, its own upgrade price, and the option to sell hardware to raise cash. Asked at Snowflake, the twist is that selling at one site funds nothing at another, so the greedy choice has to be made per site and then compared globally. You will work out when selling is worth it, cap purchases by inventory, and avoid the trap of pooling the budgets. A subscription unlocks the full problem and the model solution.
ArrayGreedySimulationMinimum Coins to Pay With Change
3/5Tackle this Snowflake interview challenge where you must determine the absolute minimum quantity of currency units exchanged when paying a specific total using standard denominations while factoring in potential change returned. This problem exercises your grasp of greedy strategies, mathematical optimization, and state space exploration for monetary calculations. It challenges you to think beyond standard partitioning problems by incorporating reverse transactions. To view the complete architectural explanation and expert solution, a subscription is required.
Dynamic ProgrammingGreedyCoin ChangeMerge Two Sorted Linked Lists
1/5Practice a fundamental linked list manipulation task commonly asked in Snowflake technical screens, where you are given two pre-sorted sequences and tasked with combining them into a single ordered list. Rather than allocating entirely new structures, you must skillfully rearrange existing node pointers to weave the elements together seamlessly. This foundational exercise hones your pointer manipulation skills and reinforces clean memory management principles. Access the complete problem description, edge-case analysis, and optimal code implementation with a subscription.
Linked ListMergeTwo PointerRemove Stones to Minimize the Total
2/5Apply a fixed number of halving operations across several piles so that the stones left behind are as few as possible. This Snowflake question is a greedy argument backed by a heap: each operation should always hit the largest remaining pile, because the saving from halving grows with the pile. You will push the halved value back after each step, handle repeated hits on the same pile, and reason about integer rounding. A subscription unlocks the full problem and the model solution.
ArrayHeapPriority QueueDocument Target Coverage and Minimum Window
4/5This advanced coding challenge, reported from Snowflake interviews, requires candidates to process a text document and evaluate specific word occurrences while intelligently ignoring punctuation and case differences. Participants must solve multiple sub-problems involving comprehensive set coverage checks, frequency counting, and locating the absolute shortest substring that satisfies all criteria. The complete problem statement, advanced algorithmic strategies, and a fully optimized reference solution require a paid subscription to access.
Sliding WindowHashmapStringDetermine Employees to Promote
3/5Total each employee's contributions across projects, rank them, and select the top slice indicated by a promotion ratio. This Snowflake question is aggregation followed by sorting, with the ratio turning into a count that has to be rounded one way or the other. You will decide how the ratio maps to a headcount, settle ties in the ranking, and produce both the full ordering and the selected group. The complete problem and the reference solution are available to subscribers.
ArraySortingAggregationRadio Waves
3/5Find the longest path through a network of transmitters where every consecutive pair along the route broadcasts on frequencies within one step of each other. Asked at Snowflake, the network is a tree, so the answer is a constrained diameter: the usual two-pass or rooted-depth technique still applies, but an edge only counts when the two frequencies are compatible. You will compute the best downward reach per device, combine two branches at each device, and return zero when no pair can reach each other at all. The complete problem and the reference solution are available to subscribers.
GraphTreePathsReverse Alphanumeric Segments in Place
2/5Practice a string manipulation puzzle frequently asked in Snowflake technical screens, where you reverse continuous segments of letters and numbers while leaving all punctuation and whitespace untouched in their original spots. The puzzle requires careful boundary detection to handle punctuation marks correctly that might split alphanumeric runs. This task is an excellent test of your two-pointer techniques, character classification, and in-place mutation logic. Get the full problem requirements and the optimal solution by subscribing.
StringTwo PointerString ProcessingProcess Logs
2/5Parse a log of money transfers and report the accounts whose activity meets the stated threshold. This Snowflake question is string handling with a careful contract: identifiers are digit strings rather than numbers, a self-transfer counts once rather than twice, and the output order is specified. You will split each record safely, count per account, and sort the result the way the statement demands. A subscription unlocks the full problem and the reference solution.
StringsHashmapParsingString Patterns
3/5Count the words of a given length over the English alphabet that never contain too many vowels in a row. This Snowflake internship question is a counting recurrence where the state is how many vowels the word currently ends with, and the alphabet splits into five vowels and twenty-one consonants. You will set up the transitions, keep the totals reduced under the required modulus, and sanity-check the small cases by hand. Subscribers can read the full problem and the derivation.
Dynamic ProgrammingStringsCombinatoricsUnequal Elements
3/5Select the longest subsequence of a skills list that changes value no more than a permitted number of times between neighbours. This Snowflake question is a dynamic-programming problem whose state has to hold both the value you ended on and how many changes you have spent. You will define that state precisely, iterate over the distinct values rather than the positions, and handle a budget of zero. Subscribers get the complete problem and the model solution.
ArraySubsequenceSliding WindowShortest Distance to Target Character
2/5Report, for every position in a string, how far it is to the nearest occurrence of a target character. This Snowflake question has a clean two-pass answer, one sweep in each direction, and a follow-up that matters: if the characters arrive as a stream you cannot look ahead, so the output has to be deferred or revised. You will handle a target that never appears, and explain how the streaming version changes the memory profile. The complete problem and the reference solution are available with a subscription.
StringArrayTwo PointersFind the Maximum Length of a Good Subsequence I
3/5Find the longest subsequence of an array that changes value at most a permitted number of times from one element to the next. This Snowflake question needs a state that tracks the ending value together with the number of changes already spent, which is what separates it from a plain run-length scan. You will iterate the states in the right order to avoid double counting, handle a zero budget, and reason about the cost when many distinct values appear. Subscribers get the complete problem and the model solution.
ArraysSubsequenceDynamic ProgrammingSelecting Stocks
3/5Choose at most one share of each company within a fixed budget to maximise the predicted year-end gain. This Snowflake question is a zero-one knapsack with a profit that can be negative, and the detail that catches people is sweeping the budget in the right direction so each item is used once. You will define the state over remaining funds, skip items that cannot improve the result, and handle a budget too small for anything. A subscription unlocks the complete problem and the model solution.
ArrayDynamic ProgrammingGreedyN-Queens
4/5Explore how to position multiple defensive pieces on a grid of variable size such that no two pieces threaten each other across rows, columns, or diagonals. Frequently featured in technical interviews at Snowflake, this classic challenge evaluates your mastery of recursive backtracking and state validation strategies. You will learn how to systematically explore potential configurations and generate all valid board setups. Access the complete problem description and expert model solution with an active subscription.
BacktrackingRecursionConstraint SearchString Patterns (Also for Core/Database Intern :)
3/5Count the distinct words of a fixed length that never run more vowels together than an allowed limit. Reported by a Snowflake intern candidate, this is a counting recurrence where the state is the current trailing vowel run, with five vowels and twenty-one consonants driving the two transitions. You will reduce every intermediate total under the required modulus, verify the smallest cases by hand, and keep the table to a single row. Subscribers can read the full problem and the derivation.
Dynamic ProgrammingStringsCombinatoricsSimple TypeScript Program
2/5Map a list of strings to a list holding the length of each one, written in a typed dialect of JavaScript. This Snowflake warm-up takes one line and is still asked, because it shows whether you type the signature properly and whether you reach for a mapping operation rather than an index loop. You will keep the input untouched, type both the parameter and the return value, and handle an empty list. A subscription unlocks the complete problem and the reference solution.
ArrayStringTypescriptCustom-Sorted Array
3/5Count the fewest arbitrary swaps that move every even value to the front of an array and every odd value to the back. This Snowflake question is simpler than it looks once you see that any swap can fix two misplaced values at once: the answer is just the number of even values sitting in the odd region. You will count the misplacements on one side, avoid simulating the swaps, and handle an array of a single parity. A subscription unlocks the full problem and the model solution.
ArraySortingGreedy
Recent Snowflake interview experiences
Full loops shared by candidates, every round included.
Snowflake Backend (new grad) — a parent-index forest + message-passing node count
A Snowflake backend new-grad onsite on the harder side — the phone problem paired a tree/forest structure with a little message-passing twist. Logging it; a few of the constraints felt underspecified in the moment.
Snowflake phone — coding + system design back-to-back, same day (pass)
Two rounds stacked on the same day, back to back: a coding round then a system-design round. Came out with a pass. I'm now trying to figure out what Snowflake IC4 actually maps to at Google/Meta levels.
Snowflake coding interview FAQ
- What coding questions does Snowflake ask?
- 68 reported coding questions, most often on Array, Hashmap, Simulation, BFS, Sorting.
- How hard is the Snowflake coding interview?
- The reported coding questions average 2.9 out of 5: 3 at 1/5, 12 at 2/5, 45 at 3/5, 8 at 4/5.
- Are these Snowflake coding questions recent?
- The most recent report is from October 2026, and 49 were reported within the last twelve months. Dates come from the interview reports themselves.