Single Query Type, Max Revenue in K Minutes
Asked at Snowflake · Coding Questions · Difficulty: Easy · Last asked Jan 17, 2026
A virtual warehouse can execute one of `n` query types. Each query type `i` has a per-run duration `duration_i` and a per-run revenue `revenue_i`.
Loading the problem…
More Snowflake interview questions
- Design a Distributed Job Scheduler with Cron, Pause, Resume
- Design an ACL Authorization Service
- Design an S3-Style Blob Store with Deduplication
- SQL: Project Duration & Budget per Employee
- Cross-Platform Client Logging Library
- Design a Quota System