Snowflake online assessment question, reconstructed from 2 candidate reports (March 2025). Tests: sliding window, two pointers, string matching. The write-up includes a Python solution that passes 5 test cases.
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Snowflake catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Snowflake question.