Snowflake Software Engineer Coding & Algorithms Interview Questions
Practice 40 real Coding & Algorithms interview questions for Software Engineer roles at Snowflake.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Implement Document Predicate APIs
Design a simple document service that stores text documents identified by filename. Implement these APIs: - InsertDoc(filename, content): store or ove...
Find Shortest Wiki Click Path
Implement a function that computes the minimum number of clicks needed to navigate from one wiki page to another. You are given two page URIs, start_u...
Minimize coins with overpay and change
You have an unlimited number of coins with denominations: - 1, 5, 10, 50, 100, 200 You need to pay exactly n units to another person. You are allowed ...
Schedule prerequisite classes with retakes
Problem You are building a course-taking engine. Each course is represented as an object: - id (unique identifier) - prevCoursesList: a list of prereq...
Compute nearest bathroom distance for each desk
You are given an m x n grid of characters containing only: - 'B' = bathroom - 'D' = desk - '_' = empty cell From any cell you may move one step up/dow...
Find Shortest Grid Path
You are given an m x n grid where 0 represents an open cell and 1 represents a blocked cell. You are also given a start cell (sr, sc) and a target cel...
Implement topological sort and tree boundary traversal
You are given two separate coding tasks. Problem A — Order courses with prerequisites You have n courses labeled 0..n-1 and a list of prerequisite pai...
Solve three coding rounds
You are given three independent interview-style coding tasks. 1) Nearest cake/person in a 2D grid You are given an m x n grid of integers: - 1 = cake ...
Compute height of tree with deleted nodes; minimize deletions
You are given a rooted tree (not necessarily binary). Each node has a list of children. Some nodes are marked as deleted = true. Define the effective ...
Design transactional in-memory key-value store
Problem Design and implement an in-memory key–value store that supports basic operations plus transactions. Core API Implement the following operation...
Compute effective permissions on DAG and prune tree
Problem A — Effective allow/disallow letters on a DAG You are given a directed acyclic graph (DAG) with n nodes labeled 0..n-1. Each node u contains t...
Check if each recipe is a contiguous subsequence
You are given: - An ordered ingredient list ingredients[0..n-1]. - A list of m recipes. Each recipe recipes[j] is itself a list of ingredients and is ...
Solve scheduling and tree path problems
You are given three separate coding problems (asked across two rounds). For each, write a function that returns the required output. Problem 1: Max cr...
Implement course scheduling and rate limiter analysis
You are given two independent coding problems. --- Problem 1: Course Scheduling You are planning to take a set of courses and are given prerequisite r...
Solve four OA algorithm problems
You are given four independent coding questions. 1) Count square subgrids (multiple queries) For each query, you are given two integers R and C repres...
Validate an extended tic-tac-toe state
Problem You are given a 3×3 tic-tac-toe board state as an array of 3 strings, each of length 3. Each cell is one of: - 'X' (player X) - 'O' (player O)...
Implement an in-memory file system
Implement an in-memory file system supporting basic directory and file operations. You must support the following methods (names are illustrative; any...
Compute total time to finish all courses
Problem You are given n courses labeled 1..n. Each course i takes time[i] units of time to complete. You are also given prerequisite relations prereqs...
Find longest substring with at most k distinct
Given a string s and an integer k, return the length of the longest contiguous substring that contains at most k distinct characters. Provide an O(n) ...
Implement crawler and bracket validator
Implement two tasks: ( 1) Write a function crawl(start_urls, fetch, max_depth, domain_filter) that visits pages starting from the given seed URLs usin...