Compute minimum-cost service cover
Company: Airbnb
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates proficiency in combinatorial optimization and set-coverage with cost minimization, including handling case-insensitive service matching and enumerating minimal solution combinations.
Constraints
- 0 <= N <= 30, where N is the number of packages
- 0 <= price <= 10^6 for each package
- 0 <= S <= 15, where S is the number of distinct required services after case-insensitive normalization
- The number of optimal combinations can be exponential in N, so reconstruction is inherently output-sensitive