Snowflake Online Assessment Questions

22+ real Snowflake OA questions from candidate reports. Sourced from 1Point3Acres, Blind, Glassdoor, Reddit, and LeetCode. Browse by year to find the most recent data, or view the full OA question set filtered on the main company page.

Browse Snowflake OA by Year

Recent Snowflake OA Sample Questions

Snowflake SWE AI/ML Intern Online Assessment Problems

easy arrays 2026 1p3a

I recently gave the Snowflake SWE AI/ML Intern OA, and these were the three problems asked. The languages allowed were Go, Java, and Python only. --- # Problem 1: Simple Array Rotation Game ## **Descr

View

EPAM Lead Data Engineer Interview Experience

algorithms 2025 leetcode

EPAM Lead Data Engineer Interview Experience : 1.Online Test 1 hr 30mins around 1.Multiple choice questions 10 2. one SQL question ( Find the total number of unique students...

View

SDE SNOWFLAKE OA

easy algorithms 2024 leetcode

1. Table of Contents Create a table of contents for a simple markup language. It must follow two rules: 1. If a line starts with a single # followed by a space,...

View

Snowflake OA

algorithms 2024 leetcode

!/bin/python3 import math import os import random import re import sys from collections import defaultdict from typing import List class Graph: def __init__(self, vertices: int): self.vertices = vertices self.adjacency_list = [[] for _ in range(vertices)] # Use of NoEdge(int,...

View

Snowflake OA | Oct 14th

algorithms 2024 leetcode

A super bitstring is a a bitstring made by flipping zero or more of the 0s in the bit string to 1. Given k decimal integers, convert each to a bit...

View

Magnitude Software | ASE | Hyderabad

easy algorithms 2022 leetcode

YOE : - 6 Months OA : 2 Coding + mcq 1. First question was based upon dp similar to Subset sum. 2. Second question was based upon simple sorting...

View

Snowflake Interview Experience

hard algorithms 2022 leetcode

I applied for Snowflake Fall Co-op through a referral. I got the link for OA. Question in OA were mostly from DP(3 question time:90 minutes) varying form medium to hard...

View

Array Reduction 4: Reduce an Array by Repeatedly Removing the Minimum Pair Sum

arrays interviewdb

## Problem Given an integer array, repeatedly perform the following operation until one element remains: - Find the two smallest elements, remove them, and insert their sum back into the array. Return the total cost (sum of all inserted sums across all operations). This is equivalent to building an optimal merge tree (Huffman-style). ```python from typing import List def array_reduction(nums: List[int]) -> int: # return the total cost of all merge operations pass ``` **Example:** ``` Input: [4, 3, 2, 6] Step 1: merge 2+3=5, cost=5, array=[4,5,6] Step 2: merge 4+5=9, cost=9, array=[6,9] Step 3: merge 6+9=15, cost=15, array=[15] Output: 5+9+15 = 29 ``` ## Approach Use a min-heap. At each step, pop two smallest elements, compute their sum, accumulate cost, and push the sum back. Time: O(n log n). ## Follow-ups 1. Why does a greedy min-heap strategy provably minimize total cost here? 2. What is the worst-case array that maximizes total cost for a fixed sum of elements? 3. How would the answer change if you could merge any k elements (not just 2) at each step? 4. How would you reconstruct the merge tree, not just the cost?

View

Snowflake SWE OA - Coloring Houses

dynamic programming interviewdb

## Problem Color a row of houses with given constraints (adjacent houses cannot share the same color) while minimizing total cost. Classic DP problem. ## Likely LeetCode equivalent No direct match. ## Tags dynamic_programming, arrays, oa

View

Efficient Cost: Minimize Total Cost to Connect All Nodes in a Network

greedy interviewdb

## Problem You are given `n` nodes and a list of potential edges, each with a cost. Find the minimum total cost to connect all nodes (i.e., build a minimum spanning tree). If it is impossible to connect all nodes, return -1. ```python from typing import List def min_connection_cost(n: int, edges: List[List[int]]) -> int: # n: number of nodes (1-indexed) # edges: [[node_a, node_b, cost], ...] # return: minimum total cost, or -1 if not fully connectable pass ``` **Example:** ``` n = 4 edges = [[1,2,3],[1,3,1],[2,3,2],[2,4,4],[3,4,1]] MST edges: (1,3,1), (3,4,1), (1,2,3) or (2,3,2) Minimum cost = 1+1+2 = 4 Output: 4 ``` ## Approach Kruskal's with Union-Find: sort edges by cost, greedily add edges that don't form a cycle. Time: O(E log E). ## Follow-ups 1. When would you prefer Prim's algorithm over Kruskal's? 2. What if some nodes already have a free connection (cost = 0) — does the algorithm change? 3. How would you find the second-minimum spanning tree? 4. In a distributed setting with millions of edges, how would you compute MST across partitioned data?

View

Most Common OA Topics

algorithms (6) strings (4) greedy (3) arrays (3) sorting (1) math (1) heap (1) dynamic programming (1)

Snowflake OA Format and Platform

The Snowflake online assessment is delivered through a proctored online platform, most commonly HackerRank. Candidates receive the OA link by email after passing an initial resume review. The coding section typically contains 2 to 3 algorithmic problems with a 70 to 110 minute time limit.

Some Snowflake teams include an additional work simulation section that tests judgment and decision-making rather than coding ability. This section is not present for all roles. Check the LeakCode question database filtered by role type to see what past candidates for your specific role reported.

FAQ

Does Snowflake have an online assessment?

Yes. Snowflake uses an OA as the first technical screen for most engineering and technical roles. It is typically sent after a resume review and before any human interviews. The format has remained consistent across recent hiring cycles.

How hard is the Snowflake OA?

Based on candidate reports, Snowflake OA problems range from LeetCode medium to hard. Expect at least one problem that requires an efficient algorithm (not brute force) to pass all test cases within the time limit.

Where do these OA questions come from?

All questions in the LeakCode database are sourced from actual candidate reports on 1Point3Acres, Blind, Glassdoor, Reddit, and LeetCode. They are not AI-generated. Each question links to its source where the original report is public.

Related: Snowflake All Questions · All OA Questions · Browse Companies · Data Sources