Sort Records by Color

Problem overview from a real Snowflake interview:

A variant of LeetCode 75, Sort Colors. The twist: you do not touch the underlying list. You are handed a RecordCollection that exposes two operations, and the sort has to go through them.

Check more interview questions and experiences about Snowflake

Please log in to view interview details