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 Snowflake onsite included an unfamiliar object-oriented coding problem, a job scheduler system design round, and a behavioral interview. The coding exercise required precise handling of repeated task records and execution history, while the system design round emphasized scheduling guarantees, scale, and reliability. I did not pass the loop.
Interview Details
Onsite Coding — Priority-Based Task Execution:
The coding round asked me to design an object-oriented task execution component with two main operations: addTask(taskId, priority, timestamp) and executeTask().
Calling addTask created a task record containing its identifier, priority, and timestamp. The same task ID could be added multiple times at different timestamps, so the system needed to preserve multiple records associated with the same logical task.
Calling executeTask selected the next task according to priority. The tricky requirement was that once a task ID had already been executed, any later record carrying the same ID needed to be skipped rather than executed again.
This was not a question I had previously seen in shared interview reports, and most of the difficulty came from defining the task state and maintaining the correct ordering while filtering out duplicate
Unlock Full Details
Create a free account to unlock this interview experience report.