Snowflake logo

Snowflake Interview Question Bank

Snowflake's loop is small and bank-driven: a recruiter screen, two back-to-back coding phone screens, then a virtual onsite that mixes coding, system design, and behavioral. The same handful of coding families (multi-source BFS on a grid, course-schedule variants, tree-node-deletion height problems, transactional KV stores) cycle through most candidates, so recognition speed matters more than novel problem solving.

More
117
Before you start
Showing 73 of 73
Coding·60 min
HighFree preview

Closest Bathroom / Desk on a Grid

Given a 2-D grid with cells marked `B` (bathroom), `D` (desk), and `_` (empty), return the shortest distance from each desk to its nearest bathroom under 4-directional movement. Variants use a 1-D array to find the nearest target value or character; follow-ups extend to global assignment and streaming input.

SWE
bfs
grid
two-pointer
heap
+1
9 related discussions

Snowflake Featured Guides