Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.