Shopping Offers at MathWorks
Medium52.2% acceptance
This problem has 87.5% frequency at MathWorks.
Problem Description
In LeetCode Store, there are `n` items to sell. Each item has a price. However, there are some special offers, and a special offer consists of one or more different kinds of items with a sale price. You are given an integer array `price` where `price[i]` is the price of the `ith` item, and an integ...
Read full problem and hintsTopics
Also asked at 5 companies
More MathWorks Questions
Maximum Number of AlloysMediumReshape the MatrixEasyMaximum Palindromes After OperationsMediumTotal Cost to Hire K WorkersMediumSell Diminishing-Valued Colored BallsMedium
View all MathWorks questions