Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPractice Other Questions that Snowflake Asked
Continue with targeted prep from Snowflake's coding question bank and system design questions.
Interview Summary
The coding question involved detecting a winning move in a two-player board game similar to Connect Four, while the system design question focused on building a configurable logging library that supports multiple output destinations.
Interview Details
Coding — Detect Four Consecutive Pieces on a Board
The coding problem involved a two-player board game played on an m × n grid. Each cell contains one of three possible values:
0: Empty cell1: Player 1's piece2: Player 2's piece
The players take turns placing pieces on the board. A player wins when at least four of their pieces appear consecutively in a straight line.
Winning Conditions
Four consecutive pieces can form a winning sequence in any of the following directions:
- Horizontal: Four or more consecutive pieces in the same row.
Unlock Full Details
Create a free account to unlock this interview experience report.