Maximize Distinct Purchases Within Budget Constraints | TikTok Coding Question