Search
⌘K

Leetcode 3118. Friday Purchase III

Given item prices and a repeating weekly schedule where purchases made on Fridays trigger special discounts or coupons, optimize which items to buy (and when) to minimize total cost or maximize items under a budget. The challenge reduces to dynamic programming/knapsack with a small state tracking available coupons/Friday usages and choosing an order of purchases to exploit discounts.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.