Snowflake logo

Snowflake Medium Interview Questions

8 medium-level practice questions for Snowflake technical interviews

coding Medium Verified Question #1

1. [OA] Complete Vowel Substrings


Category: String coding problem
Given a string s, count the number of contiguous substrings that: 1. Consist entirely of vowel characters ('a', 'e', 'i', 'o', 'u') 2....
Input: String
Output: Integer
coding Medium Verified Question #2

2. [OA] Work Schedule Generator


Category: Graph coding problem
A factory uses a shift planning system to schedule worker hours across a 7-day week. Each day is represented as a single character in a pattern...
Input: Graph (nodes and edges)
Output: Array
coding Medium Verified Question #3

3. API Throttle Manager


Category: Sliding window coding problem
Design an APIThrottleManager for an API gateway that enforces multiple rate-limiting policies simultaneously. Each policy defines a sliding window...
Input: Integer(s)
Output: Integer
coding Medium Verified Question #4

4. Color Chain Winner


Category: Grid/matrix coding problem
You are implementing a color chain game. Two players take turns placing tokens on a grid. Each cell contains "red", "blue", or "" (empty). A...
Input: 2D grid
Output: Computed result
coding Medium Verified Question #5

5. Longest Prefix Router


Category: String coding problem
You are building a network packet forwarder. Given a routing table and a list of incoming packet source addresses, determine the correct gateway for...
Input: List
Output: Computed result
coding Medium Verified Question #6

6. Product Sales Ranker


Category: String coding problem
Design a ProductSalesRanker class for an e-commerce platform that tracks cumulative product sales and returns the top-ranked products on demand....
Input: List
Output: Computed result
coding Medium Verified Question #7

7. Resizable LRU Cache


Category: Trie-based coding problem
Design a ResizableLRUCache for a web server that caches integer key-value responses. The cache has a fixed capacity at creation time but can be...
Input: Integer(s)
Output: Computed result
coding Medium Verified Question #8

8. Tagged Value Store


Category: Trie-based coding problem
Design a TaggedValueStore for a configuration system that stores string keys mapped to integer values. The store supports standard CRUD operations...
Input: List
Output: Array

No AI generated questions yet for Snowflake.

Start practicing Snowflake questions

Sign up for free to access walkthroughs, AI-generated questions, and more.

Get Started Free