Halloween Sale
Unlock all premium questions for over 30% off
Maximum Profit Query Choice
Easy
Question
A virtual data warehouse has a block of k minutes to fill with queries. It offers n query types; one run of a type always lasts the same number of minutes and always earns the same profit. The plan is to commit to exactly one type, repeat it back to back for up to k minutes, and come out with the largest possible total profit.
...
Asked at:Snowflake
More Snowflake interview questions
- Guess Number with Feedback Delaymedium
- Limit Tree Height with Deletionsmedium
- Grep Command With Context Linesmedium
- All Subsetsmedium
- [OA] Bounded Transition Subsequencehard
- Inherited Access Rightshard
- Longest Prefix Routermedium
- Product Sales Rankermedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.