Count Cookie Flavor Combinations
Company: Sig
Role: Data Scientist
Category: Statistics & Math
Difficulty: easy
Interview Round: Online Assessment
Overview: Count ways to make five cookies from four reusable flavors when only flavor totals matter. The solution translates the task into nonnegative integer solutions, applies stars and bars, derives 56 combinations, and contrasts this with the much larger ordered-sequence count.
Read the full Sig Data Scientist interview experience this question came from